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

Unified Diff: Source/core/animation/animatable/AnimatableSVGPaint.h

Issue 1226293002: Fix virtual/override/final usage in Source/core/{animation,css,style}/. (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/animation/animatable/AnimatableSVGPaint.h
diff --git a/Source/core/animation/animatable/AnimatableSVGPaint.h b/Source/core/animation/animatable/AnimatableSVGPaint.h
index 0e93bc6ab62294a557b3151685b1a8aaed70d0cf..7e460a31efaacf122ac30326197ec2fd25b64d62 100644
--- a/Source/core/animation/animatable/AnimatableSVGPaint.h
+++ b/Source/core/animation/animatable/AnimatableSVGPaint.h
@@ -39,7 +39,7 @@ namespace blink {
class AnimatableSVGPaint final : public AnimatableValue {
public:
- virtual ~AnimatableSVGPaint() { }
+ ~AnimatableSVGPaint() override { }
static PassRefPtrWillBeRawPtr<AnimatableSVGPaint> create(
SVGPaintType type, SVGPaintType visitedLinkType,
const Color& color, const Color& visitedLinkColor,
@@ -68,8 +68,8 @@ public:
}
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
- virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
+ PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
private:
AnimatableSVGPaint(SVGPaintType type, SVGPaintType visitedLinkType, PassRefPtrWillBeRawPtr<AnimatableColor> color, const String& uri, const String& visitedLinkURI)
@@ -80,8 +80,8 @@ private:
, m_visitedLinkURI(visitedLinkURI)
{
}
- virtual AnimatableType type() const override { return TypeSVGPaint; }
- virtual bool equalTo(const AnimatableValue*) const override;
+ AnimatableType type() const override { return TypeSVGPaint; }
+ bool equalTo(const AnimatableValue*) const override;
SVGPaintType m_type;
SVGPaintType m_visitedLinkType;
« no previous file with comments | « Source/core/animation/animatable/AnimatableRepeatable.h ('k') | Source/core/animation/animatable/AnimatableShadow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698