Bug 1411056 - SVGSVGElement: Remove unnecessary parentheses in declaration of 'NS_NewSVGSVGElement' r=dholbert
☠☠ backed out by 01c28e18b63c ☠ ☠
authorSylvestre Ledru <sledru@mozilla.com>
Mon, 23 Oct 2017 23:38:36 +0200
changeset 685697 be03517460fdd4a409ef6b01669f861a27aa1d3b
parent 685696 7b07d5488288e011eb666d540d42f7de7c56d909
child 685698 3aff5bcb58168c55c71957eac068d2176d1f24a3
push id86016
push userkgupta@mozilla.com
push dateWed, 25 Oct 2017 01:53:44 +0000
reviewersdholbert
bugs1411056
milestone58.0a1
Bug 1411056 - SVGSVGElement: Remove unnecessary parentheses in declaration of 'NS_NewSVGSVGElement' r=dholbert MozReview-Commit-ID: 19CPiRBJEP1
dom/svg/SVGSVGElement.h
--- a/dom/svg/SVGSVGElement.h
+++ b/dom/svg/SVGSVGElement.h
@@ -77,19 +77,19 @@ class SVGSVGElement final : public SVGSV
   friend class mozilla::AutoPreserveAspectRatioOverride;
   friend class mozilla::dom::SVGView;
 
 protected:
   SVGSVGElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo,
                 FromParser aFromParser);
   virtual JSObject* WrapNode(JSContext *aCx, JS::Handle<JSObject*> aGivenProto) override;
 
-  friend nsresult (::NS_NewSVGSVGElement(nsIContent **aResult,
-                                         already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo,
-                                         mozilla::dom::FromParser aFromParser));
+  friend nsresult ::NS_NewSVGSVGElement(nsIContent **aResult,
+                                        already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo,
+                                        mozilla::dom::FromParser aFromParser);
 
   ~SVGSVGElement();
 
 public:
   // interfaces:
   NS_DECL_ISUPPORTS_INHERITED
   NS_DECL_CYCLE_COLLECTION_CLASS_INHERITED(SVGSVGElement, SVGSVGElementBase)