Bug 1542646 Part 11 - add explicit to constructor r=dholbert
authorlongsonr <longsonr@gmail.com>
Wed, 24 Apr 2019 21:39:43 +0100
changeset 530089 3638ca566d8832c2dee2d273d2a34adb54be521e
parent 530088 2d2c69004a2958bb798a558fe86b3afc07a69e73
child 530090 8b36a9dda426fbf263815036b0da7d024aa5902c
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1542646
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1542646 Part 11 - add explicit to constructor r=dholbert
dom/svg/SVGViewportElement.h
--- a/dom/svg/SVGViewportElement.h
+++ b/dom/svg/SVGViewportElement.h
@@ -42,17 +42,18 @@ class svgFloatSize {
   float height;
 };
 
 class SVGViewportElement : public SVGGraphicsElement {
   friend class ::nsSVGOuterSVGFrame;
   friend class ::nsSVGViewportFrame;
 
  protected:
-  SVGViewportElement(already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo);
+  explicit SVGViewportElement(
+      already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo);
   ~SVGViewportElement() = default;
 
  public:
   // nsIContent interface
   NS_IMETHOD_(bool) IsAttributeMapped(const nsAtom* aAttribute) const override;
 
   // SVGElement specializations:
   virtual gfxMatrix PrependLocalTransformsTo(