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

Unified Diff: Source/core/svg/SVGLengthList.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/SVGLengthList.h
diff --git a/Source/core/svg/SVGLengthList.h b/Source/core/svg/SVGLengthList.h
index 795a74f9a9a30c87eed720dc2253c13e4bed947d..55992d8be2a287349d33dffd88073d2782fc4cb8 100644
--- a/Source/core/svg/SVGLengthList.h
+++ b/Source/core/svg/SVGLengthList.h
@@ -48,19 +48,19 @@ public:
return adoptRefWillBeNoop(new SVGLengthList(mode));
}
- virtual ~SVGLengthList();
+ ~SVGLengthList() override;
void setValueAsString(const String&, ExceptionState&);
// SVGPropertyBase:
- virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
- virtual PassRefPtrWillBeRawPtr<SVGLengthList> clone() override;
- virtual String valueAsString() const override;
+ PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
+ PassRefPtrWillBeRawPtr<SVGLengthList> clone() override;
+ String valueAsString() const override;
SVGLengthMode unitMode() const { return m_mode; }
- virtual void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
- virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> fromValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toValue, 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> fromValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) override;
+ float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement*) override;
static AnimatedPropertyType classType() { return AnimatedLengthList; }
@@ -69,7 +69,7 @@ private:
// Create SVGLength items used to adjust the list length
// when animation from/to lists are longer than this list.
- virtual PassRefPtrWillBeRawPtr<SVGLength> createPaddingItem() const override;
+ PassRefPtrWillBeRawPtr<SVGLength> createPaddingItem() const override;
template <typename CharType>
void parseInternal(const CharType*& ptr, const CharType* end, ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698