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

Unified Diff: Source/core/svg/SVGString.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/SVGString.h
diff --git a/Source/core/svg/SVGString.h b/Source/core/svg/SVGString.h
index 5d2a0d8461e5036dac92c07fc15e639a69473336..f17b0175fe60f58399679c774c1906cce8094dad 100644
--- a/Source/core/svg/SVGString.h
+++ b/Source/core/svg/SVGString.h
@@ -54,17 +54,17 @@ public:
}
PassRefPtrWillBeRawPtr<SVGString> clone() const { return create(m_value); }
- virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String& value) const override
+ PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String& value) const override
{
return create(value);
}
- virtual String valueAsString() const override { return m_value; }
+ String valueAsString() const override { return m_value; }
void setValueAsString(const String& value, ExceptionState&) { m_value = value; }
- 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*) override;
- virtual float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement*) override;
+ void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
+ void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) override;
+ float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement*) override;
const String& value() const { return m_value; }
void setValue(const String& value) { m_value = value; }

Powered by Google App Engine
This is Rietveld 408576698