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

Unified Diff: Source/core/animation/animatable/AnimatableShapeValue.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/AnimatableShapeValue.h
diff --git a/Source/core/animation/animatable/AnimatableShapeValue.h b/Source/core/animation/animatable/AnimatableShapeValue.h
index a5572b2a41ce1c9c2983294394ec70acd1f620c3..7f5b84e5e33f17f91f35866cbbc3f977b4122da1 100644
--- a/Source/core/animation/animatable/AnimatableShapeValue.h
+++ b/Source/core/animation/animatable/AnimatableShapeValue.h
@@ -39,7 +39,7 @@ namespace blink {
class CORE_EXPORT AnimatableShapeValue final : public AnimatableValue {
public:
- virtual ~AnimatableShapeValue() { }
+ ~AnimatableShapeValue() override { }
static PassRefPtrWillBeRawPtr<AnimatableShapeValue> create(ShapeValue* shape)
{
return adoptRefWillBeNoop(new AnimatableShapeValue(shape));
@@ -49,8 +49,8 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE() { AnimatableValue::trace(visitor); }
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:
AnimatableShapeValue(ShapeValue* shape)
@@ -58,8 +58,8 @@ private:
{
ASSERT(m_shape);
}
- virtual AnimatableType type() const override { return TypeShapeValue; }
- virtual bool equalTo(const AnimatableValue*) const override;
+ AnimatableType type() const override { return TypeShapeValue; }
+ bool equalTo(const AnimatableValue*) const override;
RefPtr<ShapeValue> m_shape;
};
« no previous file with comments | « Source/core/animation/animatable/AnimatableShadow.h ('k') | Source/core/animation/animatable/AnimatableStrokeDasharrayList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698