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

Unified Diff: Source/core/svg/SVGLength.h

Issue 1212253012: Fix virtual/override/final usage in Source/core/svg/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/SVGLength.h
diff --git a/Source/core/svg/SVGLength.h b/Source/core/svg/SVGLength.h
index b228627f63c79aa57386ce2a89cece9349166cda..bdfafd1156ee20a56a387ac7d2693aab6fcb7e0f 100644
--- a/Source/core/svg/SVGLength.h
+++ b/Source/core/svg/SVGLength.h
@@ -48,7 +48,7 @@ public:
}
PassRefPtrWillBeRawPtr<SVGLength> clone() const;
- virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
+ PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
SVGLengthType unitType() const { return static_cast<SVGLengthType>(m_unitType); }
CSSPrimitiveValue::UnitType cssUnitTypeQuirk() const
@@ -84,7 +84,7 @@ public:
// Scale the input value by this SVGLength. Higher precision than input * valueAsPercentage().
float scaleByPercentage(float) const;
- virtual String valueAsString() const override;
+ String valueAsString() const override;
void setValueAsString(const String&, ExceptionState&);
void newValueSpecifiedUnits(SVGLengthType, float valueInSpecifiedUnits);
@@ -112,9 +112,9 @@ public:
PassRefPtrWillBeRawPtr<SVGLength> blend(PassRefPtrWillBeRawPtr<SVGLength> from, float progress) const;
- virtual void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
- virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override;
- virtual float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement* contextElement) override;
+ void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
+ void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override;
+ float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement* contextElement) override;
static AnimatedPropertyType classType() { return AnimatedLength; }

Powered by Google App Engine
This is Rietveld 408576698