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

Unified Diff: Source/core/svg/properties/SVGMatrixTearOff.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
Index: Source/core/svg/properties/SVGMatrixTearOff.h
diff --git a/Source/core/svg/properties/SVGMatrixTearOff.h b/Source/core/svg/properties/SVGMatrixTearOff.h
index 76935750407ed246175a42f9e05d4e5b7f0874d8..42675fd4db3279d321971ecb0e44829287f0af5b 100644
--- a/Source/core/svg/properties/SVGMatrixTearOff.h
+++ b/Source/core/svg/properties/SVGMatrixTearOff.h
@@ -25,7 +25,7 @@
namespace WebCore {
-class SVGMatrixTearOff : public SVGPropertyTearOff<SVGMatrix> {
+class SVGMatrixTearOff FINAL : public SVGPropertyTearOff<SVGMatrix> {
public:
// Used for child types (baseVal/animVal) of a SVGAnimated* property (for example: SVGAnimatedLength::baseVal()).
// Also used for list tear offs (for example: text.x.baseVal.getItem(0)).
@@ -52,7 +52,7 @@ public:
return result.release();
}
- virtual void commitChange()
+ virtual void commitChange() OVERRIDE
{
if (m_parent) {
// This is a tear-off from a SVGPropertyTearOff<SVGTransform>.
@@ -68,7 +68,7 @@ public:
// which means that |m_value| may be pointing inside |m_value| of the other tear-off.
// This method is called from the parent SVGTransform tear-off when |m_parent->m_value| is updated,
// so that |this->m_value| would point to valid location.
- virtual void setValueForMatrixIfNeeded(SVGTransform* transform)
+ virtual void setValueForMatrixIfNeeded(SVGTransform* transform) OVERRIDE
{
setValue(transform->svgMatrix());
}

Powered by Google App Engine
This is Rietveld 408576698