Bug 1411056 - SVGSVGElement: Remove unnecessary parentheses in declaration of 'NS_NewSVGSVGElement' r?dholbert draft
authorSylvestre Ledru <sledru@mozilla.com>
Mon, 23 Oct 2017 23:38:36 +0200
changeset 684995 06b3bd0d82ff123e878336d1ff349e111b4160e8
parent 684994 ef1a1993e2442008b2785d2de29f6d5bcf0bc906
child 737023 30603feb7d00fb6b5b9ef704583d78890c8c84a8
push id85793
push userbmo:sledru@mozilla.com
push dateMon, 23 Oct 2017 21:41:39 +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)