Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1925)

Unified Diff: Source/core/svg/properties/SVGStaticPropertyTearOff.h

Issue 137063005: Update more svg classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/properties/SVGPathSegListPropertyTearOff.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/properties/SVGStaticPropertyTearOff.h
diff --git a/Source/core/svg/properties/SVGStaticPropertyTearOff.h b/Source/core/svg/properties/SVGStaticPropertyTearOff.h
index 93d1cc58be8170daf97f00a8fbe3690c37d4ce6f..bc6bdddea25b1466867e6b6f1211832f3c7c588a 100644
--- a/Source/core/svg/properties/SVGStaticPropertyTearOff.h
+++ b/Source/core/svg/properties/SVGStaticPropertyTearOff.h
@@ -30,7 +30,7 @@ namespace WebCore {
#pragma pack(push, 16)
#endif
template<typename ContextElement, typename PropertyType>
-class SVGStaticPropertyTearOff : public SVGPropertyTearOff<PropertyType> {
+class SVGStaticPropertyTearOff FINAL : public SVGPropertyTearOff<PropertyType> {
public:
typedef SVGStaticPropertyTearOff<ContextElement, PropertyType> Self;
typedef void (ContextElement::*UpdateMethod)();
@@ -43,7 +43,7 @@ public:
return adoptRef(new Self(contextElement, value, update));
}
- virtual void commitChange() { (m_contextElement.get()->*m_update)(); }
+ virtual void commitChange() OVERRIDE { (m_contextElement.get()->*m_update)(); }
private:
SVGStaticPropertyTearOff(ContextElement* contextElement, PropertyType& value, UpdateMethod update)
« no previous file with comments | « Source/core/svg/properties/SVGPathSegListPropertyTearOff.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698