From 05d059efe16bd58164d3480c4c09ab2108d9dc74 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Fri, 2 Jan 2015 01:13:59 -0500 Subject: [PATCH] Bug 1117040 - Mark virtual overridden functions as MOZ_OVERRIDE in SVG DOM code; r=longsonr --- dom/svg/DOMSVGPathSeg.h | 8 ++++---- dom/svg/DOMSVGPoint.h | 10 +++++----- dom/svg/SVGAnimateElement.h | 2 +- dom/svg/SVGAnimateMotionElement.h | 6 +++--- dom/svg/SVGAnimateTransformElement.h | 2 +- dom/svg/SVGDefsElement.h | 4 ++-- dom/svg/SVGFEDiffuseLightingElement.h | 4 ++-- dom/svg/SVGFEOffsetElement.h | 2 +- dom/svg/SVGFESpecularLightingElement.h | 4 ++-- dom/svg/SVGFETileElement.h | 2 +- dom/svg/SVGGElement.h | 4 ++-- dom/svg/SVGIFrameElement.h | 4 ++-- dom/svg/SVGIntegerPairSMILType.h | 2 +- dom/svg/SVGLineElement.h | 2 +- dom/svg/SVGNumberPairSMILType.h | 2 +- dom/svg/SVGOrientSMILType.h | 2 +- dom/svg/SVGPolygonElement.h | 2 +- dom/svg/SVGPolylineElement.h | 2 +- dom/svg/SVGRect.h | 2 +- dom/svg/SVGSetElement.h | 2 +- dom/svg/SVGSwitchElement.h | 8 ++++---- dom/svg/SVGSymbolElement.h | 8 ++++---- dom/svg/SVGTextElement.h | 4 ++-- dom/svg/SVGViewBoxSMILType.h | 2 +- dom/svg/nsSVGPolyElement.h | 6 +++--- 25 files changed, 48 insertions(+), 48 deletions(-) diff --git a/dom/svg/DOMSVGPathSeg.h b/dom/svg/DOMSVGPathSeg.h index 388356af8031..430a1d9ddd2f 100644 --- a/dom/svg/DOMSVGPathSeg.h +++ b/dom/svg/DOMSVGPathSeg.h @@ -42,25 +42,25 @@ namespace mozilla { } \ /* From DOMSVGPathSeg: */ \ virtual uint32_t \ - Type() const \ + Type() const MOZ_OVERRIDE \ { \ return segType; \ } \ virtual DOMSVGPathSeg* \ - Clone() \ + Clone() MOZ_OVERRIDE \ { \ /* InternalItem() + 1, because we're skipping the encoded seg type */ \ float *args = IsInList() ? InternalItem() + 1 : mArgs; \ return new DOMSVGPathSeg##segName(args); \ } \ virtual float* \ - PtrToMemberArgs() \ + PtrToMemberArgs() MOZ_OVERRIDE \ { \ return mArgs; \ } \ \ virtual JSObject* \ - WrapObject(JSContext* aCx) MOZ_OVERRIDE \ + WrapObject(JSContext* aCx) MOZ_OVERRIDE \ { \ return dom::SVGPathSeg##segName##Binding::Wrap(aCx, this); \ } diff --git a/dom/svg/DOMSVGPoint.h b/dom/svg/DOMSVGPoint.h index 6e67e6f30ffb..4c63e009cb6f 100644 --- a/dom/svg/DOMSVGPoint.h +++ b/dom/svg/DOMSVGPoint.h @@ -89,11 +89,11 @@ class DOMSVGPoint MOZ_FINAL : public nsISVGPoint // WebIDL - virtual float X(); - virtual void SetX(float aX, ErrorResult& rv); - virtual float Y(); - virtual void SetY(float aY, ErrorResult& rv); - virtual already_AddRefed MatrixTransform(dom::SVGMatrix& matrix); + virtual float X() MOZ_OVERRIDE; + virtual void SetX(float aX, ErrorResult& rv) MOZ_OVERRIDE; + virtual float Y() MOZ_OVERRIDE; + virtual void SetY(float aY, ErrorResult& rv) MOZ_OVERRIDE; + virtual already_AddRefed MatrixTransform(dom::SVGMatrix& matrix) MOZ_OVERRIDE; nsISupports* GetParentObject() MOZ_OVERRIDE { return mList; } diff --git a/dom/svg/SVGAnimateElement.h b/dom/svg/SVGAnimateElement.h index c437d80c0175..2f27fce9f100 100644 --- a/dom/svg/SVGAnimateElement.h +++ b/dom/svg/SVGAnimateElement.h @@ -33,7 +33,7 @@ class SVGAnimateElement MOZ_FINAL : public SVGAnimationElement virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; // SVGAnimationElement - virtual nsSMILAnimationFunction& AnimationFunction(); + virtual nsSMILAnimationFunction& AnimationFunction() MOZ_OVERRIDE; }; } // namespace dom diff --git a/dom/svg/SVGAnimateMotionElement.h b/dom/svg/SVGAnimateMotionElement.h index 6f20e19d800a..a4087a52e00f 100644 --- a/dom/svg/SVGAnimateMotionElement.h +++ b/dom/svg/SVGAnimateMotionElement.h @@ -33,10 +33,10 @@ class SVGAnimateMotionElement MOZ_FINAL : public SVGAnimationElement virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; // SVGAnimationElement - virtual nsSMILAnimationFunction& AnimationFunction(); + virtual nsSMILAnimationFunction& AnimationFunction() MOZ_OVERRIDE; virtual bool GetTargetAttributeName(int32_t *aNamespaceID, - nsIAtom **aLocalName) const; - virtual nsSMILTargetAttrType GetTargetAttributeType() const; + nsIAtom **aLocalName) const MOZ_OVERRIDE; + virtual nsSMILTargetAttrType GetTargetAttributeType() const MOZ_OVERRIDE; // nsSVGElement virtual nsIAtom* GetPathDataAttrName() const MOZ_OVERRIDE { diff --git a/dom/svg/SVGAnimateTransformElement.h b/dom/svg/SVGAnimateTransformElement.h index f3a075bdc3d5..8db8c62c7259 100644 --- a/dom/svg/SVGAnimateTransformElement.h +++ b/dom/svg/SVGAnimateTransformElement.h @@ -39,7 +39,7 @@ class SVGAnimateTransformElement MOZ_FINAL : public SVGAnimationElement nsAttrValue& aResult) MOZ_OVERRIDE; // SVGAnimationElement - virtual nsSMILAnimationFunction& AnimationFunction(); + virtual nsSMILAnimationFunction& AnimationFunction() MOZ_OVERRIDE; }; } // namespace dom diff --git a/dom/svg/SVGDefsElement.h b/dom/svg/SVGDefsElement.h index b18100666d8b..f22268d228e9 100644 --- a/dom/svg/SVGDefsElement.h +++ b/dom/svg/SVGDefsElement.h @@ -24,9 +24,9 @@ class SVGDefsElement MOZ_FINAL : public SVGGraphicsElement public: // nsIContent - NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* aAttribute) const; + NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* aAttribute) const MOZ_OVERRIDE; - virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const; + virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; }; } // namespace dom diff --git a/dom/svg/SVGFEDiffuseLightingElement.h b/dom/svg/SVGFEDiffuseLightingElement.h index 5b815ffebb31..1b20e0e6cfe0 100644 --- a/dom/svg/SVGFEDiffuseLightingElement.h +++ b/dom/svg/SVGFEDiffuseLightingElement.h @@ -34,9 +34,9 @@ class SVGFEDiffuseLightingElement : public SVGFEDiffuseLightingElementBase const nsTArray& aInputsAreTainted, nsTArray>& aInputImages) MOZ_OVERRIDE; virtual bool AttributeAffectsRendering( - int32_t aNameSpaceID, nsIAtom* aAttribute) const; + int32_t aNameSpaceID, nsIAtom* aAttribute) const MOZ_OVERRIDE; - virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const; + virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; // WebIDL already_AddRefed In1(); diff --git a/dom/svg/SVGFEOffsetElement.h b/dom/svg/SVGFEOffsetElement.h index c9890aa2b276..32a2ab97d6c7 100644 --- a/dom/svg/SVGFEOffsetElement.h +++ b/dom/svg/SVGFEOffsetElement.h @@ -37,7 +37,7 @@ class SVGFEOffsetElement : public SVGFEOffsetElementBase nsTArray>& aInputImages) MOZ_OVERRIDE; virtual bool AttributeAffectsRendering( int32_t aNameSpaceID, nsIAtom* aAttribute) const MOZ_OVERRIDE; - virtual nsSVGString& GetResultImageName() { return mStringAttributes[RESULT]; } + virtual nsSVGString& GetResultImageName() MOZ_OVERRIDE { return mStringAttributes[RESULT]; } virtual void GetSourceImageNames(nsTArray& aSources) MOZ_OVERRIDE; virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; diff --git a/dom/svg/SVGFESpecularLightingElement.h b/dom/svg/SVGFESpecularLightingElement.h index b111c31a3a7a..219001ce25a1 100644 --- a/dom/svg/SVGFESpecularLightingElement.h +++ b/dom/svg/SVGFESpecularLightingElement.h @@ -30,7 +30,7 @@ class SVGFESpecularLightingElement : public SVGFESpecularLightingElementBase virtual JSObject* WrapNode(JSContext* aCx) MOZ_OVERRIDE; public: - virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const; + virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; virtual FilterPrimitiveDescription GetPrimitiveDescription(nsSVGFilterInstance* aInstance, @@ -38,7 +38,7 @@ class SVGFESpecularLightingElement : public SVGFESpecularLightingElementBase const nsTArray& aInputsAreTainted, nsTArray>& aInputImages) MOZ_OVERRIDE; virtual bool AttributeAffectsRendering( - int32_t aNameSpaceID, nsIAtom* aAttribute) const; + int32_t aNameSpaceID, nsIAtom* aAttribute) const MOZ_OVERRIDE; // WebIDL already_AddRefed In1(); diff --git a/dom/svg/SVGFETileElement.h b/dom/svg/SVGFETileElement.h index 92971a6805b5..2647c9cd6f25 100644 --- a/dom/svg/SVGFETileElement.h +++ b/dom/svg/SVGFETileElement.h @@ -28,7 +28,7 @@ class SVGFETileElement : public SVGFETileElementBase virtual JSObject* WrapNode(JSContext *cx) MOZ_OVERRIDE; public: - virtual bool SubregionIsUnionOfRegions() { return false; } + virtual bool SubregionIsUnionOfRegions() MOZ_OVERRIDE { return false; } virtual FilterPrimitiveDescription GetPrimitiveDescription(nsSVGFilterInstance* aInstance, diff --git a/dom/svg/SVGGElement.h b/dom/svg/SVGGElement.h index fbdb8cd12e57..66dc376dcaaa 100644 --- a/dom/svg/SVGGElement.h +++ b/dom/svg/SVGGElement.h @@ -24,9 +24,9 @@ class SVGGElement MOZ_FINAL : public SVGGraphicsElement public: // nsIContent - NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* aAttribute) const; + NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* aAttribute) const MOZ_OVERRIDE; - virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const; + virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; }; } // namespace dom diff --git a/dom/svg/SVGIFrameElement.h b/dom/svg/SVGIFrameElement.h index 20e02f6aabb6..ae19cd3bb983 100644 --- a/dom/svg/SVGIFrameElement.h +++ b/dom/svg/SVGIFrameElement.h @@ -94,8 +94,8 @@ class SVGIFrameElement MOZ_FINAL : public SVGIFrameElementBase, uint32_t GetSandboxFlags(); private: - virtual LengthAttributesInfo GetLengthInfo(); - virtual SVGAnimatedPreserveAspectRatio *GetPreserveAspectRatio(); + virtual LengthAttributesInfo GetLengthInfo() MOZ_OVERRIDE; + virtual SVGAnimatedPreserveAspectRatio *GetPreserveAspectRatio() MOZ_OVERRIDE; virtual mozilla::dom::Element* ThisFrameElement() MOZ_OVERRIDE { return this; diff --git a/dom/svg/SVGIntegerPairSMILType.h b/dom/svg/SVGIntegerPairSMILType.h index b7e96c731fa8..fbc24dba3a27 100644 --- a/dom/svg/SVGIntegerPairSMILType.h +++ b/dom/svg/SVGIntegerPairSMILType.h @@ -28,7 +28,7 @@ class SVGIntegerPairSMILType : public nsISMILType // nsISMILType Methods // ------------------- virtual void Init(nsSMILValue& aValue) const MOZ_OVERRIDE; - virtual void Destroy(nsSMILValue&) const; + virtual void Destroy(nsSMILValue&) const MOZ_OVERRIDE; virtual nsresult Assign(nsSMILValue& aDest, const nsSMILValue& aSrc) const MOZ_OVERRIDE; virtual bool IsEqual(const nsSMILValue& aLeft, const nsSMILValue& aRight) const MOZ_OVERRIDE; diff --git a/dom/svg/SVGLineElement.h b/dom/svg/SVGLineElement.h index 8e358b8fc528..e8c098d1cfe1 100644 --- a/dom/svg/SVGLineElement.h +++ b/dom/svg/SVGLineElement.h @@ -35,7 +35,7 @@ class SVGLineElement MOZ_FINAL : public SVGLineElementBase virtual void GetAsSimplePath(SimplePath* aSimplePath) MOZ_OVERRIDE; virtual TemporaryRef BuildPath(PathBuilder* aBuilder) MOZ_OVERRIDE; - virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const; + virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; // WebIDL already_AddRefed X1(); diff --git a/dom/svg/SVGNumberPairSMILType.h b/dom/svg/SVGNumberPairSMILType.h index 6aad3aadaac6..24d12d4b5af1 100644 --- a/dom/svg/SVGNumberPairSMILType.h +++ b/dom/svg/SVGNumberPairSMILType.h @@ -23,7 +23,7 @@ class SVGNumberPairSMILType : public nsISMILType // nsISMILType Methods // ------------------- virtual void Init(nsSMILValue& aValue) const MOZ_OVERRIDE; - virtual void Destroy(nsSMILValue&) const; + virtual void Destroy(nsSMILValue&) const MOZ_OVERRIDE; virtual nsresult Assign(nsSMILValue& aDest, const nsSMILValue& aSrc) const MOZ_OVERRIDE; virtual bool IsEqual(const nsSMILValue& aLeft, const nsSMILValue& aRight) const MOZ_OVERRIDE; diff --git a/dom/svg/SVGOrientSMILType.h b/dom/svg/SVGOrientSMILType.h index 2828a0d9127b..621ce30c07a1 100644 --- a/dom/svg/SVGOrientSMILType.h +++ b/dom/svg/SVGOrientSMILType.h @@ -43,7 +43,7 @@ class SVGOrientSMILType : public nsISMILType // nsISMILType Methods // ------------------- virtual void Init(nsSMILValue& aValue) const MOZ_OVERRIDE; - virtual void Destroy(nsSMILValue&) const; + virtual void Destroy(nsSMILValue&) const MOZ_OVERRIDE; virtual nsresult Assign(nsSMILValue& aDest, const nsSMILValue& aSrc) const MOZ_OVERRIDE; virtual bool IsEqual(const nsSMILValue& aLeft, const nsSMILValue& aRight) const MOZ_OVERRIDE; diff --git a/dom/svg/SVGPolygonElement.h b/dom/svg/SVGPolygonElement.h index ba878836b3df..58f272c064bf 100644 --- a/dom/svg/SVGPolygonElement.h +++ b/dom/svg/SVGPolygonElement.h @@ -30,7 +30,7 @@ class SVGPolygonElement MOZ_FINAL : public SVGPolygonElementBase virtual void GetMarkPoints(nsTArray *aMarks) MOZ_OVERRIDE; virtual mozilla::TemporaryRef BuildPath(PathBuilder* aBuilder) MOZ_OVERRIDE; - virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const; + virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; }; } // namespace dom diff --git a/dom/svg/SVGPolylineElement.h b/dom/svg/SVGPolylineElement.h index 9bb075034071..c520a052b52b 100644 --- a/dom/svg/SVGPolylineElement.h +++ b/dom/svg/SVGPolylineElement.h @@ -29,7 +29,7 @@ class SVGPolylineElement MOZ_FINAL : public SVGPolylineElementBase public: // nsIContent interface - virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const; + virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; }; } // namespace mozilla diff --git a/dom/svg/SVGRect.h b/dom/svg/SVGRect.h index 6fb015751e11..a1c6d5baa0b8 100644 --- a/dom/svg/SVGRect.h +++ b/dom/svg/SVGRect.h @@ -66,7 +66,7 @@ class SVGRect MOZ_FINAL : public SVGIRect mHeight = aHeight; } - virtual nsIContent* GetParentObject() const + virtual nsIContent* GetParentObject() const MOZ_OVERRIDE { return mParent; } diff --git a/dom/svg/SVGSetElement.h b/dom/svg/SVGSetElement.h index e7addc536a5b..1d21736f3831 100644 --- a/dom/svg/SVGSetElement.h +++ b/dom/svg/SVGSetElement.h @@ -33,7 +33,7 @@ class SVGSetElement MOZ_FINAL : public SVGAnimationElement virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; // SVGAnimationElement - virtual nsSMILAnimationFunction& AnimationFunction(); + virtual nsSMILAnimationFunction& AnimationFunction() MOZ_OVERRIDE; }; } // namespace dom diff --git a/dom/svg/SVGSwitchElement.h b/dom/svg/SVGSwitchElement.h index 197e100ca98d..52c8c60d553f 100644 --- a/dom/svg/SVGSwitchElement.h +++ b/dom/svg/SVGSwitchElement.h @@ -40,13 +40,13 @@ class SVGSwitchElement MOZ_FINAL : public SVGSwitchElementBase SVGSwitchElementBase) // nsINode virtual nsresult InsertChildAt(nsIContent* aKid, uint32_t aIndex, - bool aNotify); - virtual void RemoveChildAt(uint32_t aIndex, bool aNotify); + bool aNotify) MOZ_OVERRIDE; + virtual void RemoveChildAt(uint32_t aIndex, bool aNotify) MOZ_OVERRIDE; // nsIContent - NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* aAttribute) const; + NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* aAttribute) const MOZ_OVERRIDE; - virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const; + virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; private: void UpdateActiveChild() { mActiveChild = FindActiveChild(); } diff --git a/dom/svg/SVGSymbolElement.h b/dom/svg/SVGSymbolElement.h index 0344a172eb4e..67cc73026877 100644 --- a/dom/svg/SVGSymbolElement.h +++ b/dom/svg/SVGSymbolElement.h @@ -35,17 +35,17 @@ class SVGSymbolElement MOZ_FINAL : public SVGSymbolElementBase, NS_DECL_ISUPPORTS_INHERITED // nsIContent interface - NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* name) const; + NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* name) const MOZ_OVERRIDE; - virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const; + virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; // WebIDL already_AddRefed ViewBox(); already_AddRefed PreserveAspectRatio(); protected: - virtual nsSVGViewBox *GetViewBox(); - virtual SVGAnimatedPreserveAspectRatio *GetPreserveAspectRatio(); + virtual nsSVGViewBox *GetViewBox() MOZ_OVERRIDE; + virtual SVGAnimatedPreserveAspectRatio *GetPreserveAspectRatio() MOZ_OVERRIDE; nsSVGViewBox mViewBox; SVGAnimatedPreserveAspectRatio mPreserveAspectRatio; diff --git a/dom/svg/SVGTextElement.h b/dom/svg/SVGTextElement.h index a6fcedcc5e3f..456e4ac27763 100644 --- a/dom/svg/SVGTextElement.h +++ b/dom/svg/SVGTextElement.h @@ -27,9 +27,9 @@ class SVGTextElement MOZ_FINAL : public SVGTextElementBase public: // nsIContent interface - NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* aAttribute) const; + NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* aAttribute) const MOZ_OVERRIDE; - virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const; + virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE; protected: virtual EnumAttributesInfo GetEnumInfo() MOZ_OVERRIDE; diff --git a/dom/svg/SVGViewBoxSMILType.h b/dom/svg/SVGViewBoxSMILType.h index 49ceb73f2dc3..a067b28479e3 100644 --- a/dom/svg/SVGViewBoxSMILType.h +++ b/dom/svg/SVGViewBoxSMILType.h @@ -23,7 +23,7 @@ class SVGViewBoxSMILType : public nsISMILType // nsISMILType Methods // ------------------- virtual void Init(nsSMILValue& aValue) const MOZ_OVERRIDE; - virtual void Destroy(nsSMILValue&) const; + virtual void Destroy(nsSMILValue&) const MOZ_OVERRIDE; virtual nsresult Assign(nsSMILValue& aDest, const nsSMILValue& aSrc) const MOZ_OVERRIDE; virtual bool IsEqual(const nsSMILValue& aLeft, const nsSMILValue& aRight) const MOZ_OVERRIDE; diff --git a/dom/svg/nsSVGPolyElement.h b/dom/svg/nsSVGPolyElement.h index e3efca6f8e72..32f271bb6d99 100644 --- a/dom/svg/nsSVGPolyElement.h +++ b/dom/svg/nsSVGPolyElement.h @@ -29,12 +29,12 @@ class nsSVGPolyElement : public nsSVGPolyElementBase NS_DECL_ISUPPORTS_INHERITED // nsIContent interface - NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* name) const; + NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* name) const MOZ_OVERRIDE; - virtual SVGAnimatedPointList* GetAnimatedPointList() { + virtual SVGAnimatedPointList* GetAnimatedPointList() MOZ_OVERRIDE { return &mPoints; } - virtual nsIAtom* GetPointListAttrName() const { + virtual nsIAtom* GetPointListAttrName() const MOZ_OVERRIDE { return nsGkAtoms::points; }