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

Unified Diff: Source/core/animation/animatable/AnimatableUnknown.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/AnimatableUnknown.h
diff --git a/Source/core/animation/animatable/AnimatableUnknown.h b/Source/core/animation/animatable/AnimatableUnknown.h
index e767659e7c28418b55afef3b2e24723764395b58..8105550ecd0849e6445623c289ab67246c4803b4 100644
--- a/Source/core/animation/animatable/AnimatableUnknown.h
+++ b/Source/core/animation/animatable/AnimatableUnknown.h
@@ -39,7 +39,7 @@ namespace blink {
class AnimatableUnknown final : public AnimatableValue {
public:
- virtual ~AnimatableUnknown() { }
+ ~AnimatableUnknown() override { }
static PassRefPtrWillBeRawPtr<AnimatableUnknown> create(PassRefPtrWillBeRawPtr<CSSValue> value)
{
@@ -60,12 +60,12 @@ public:
}
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue* value, double fraction) const override
+ PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue* value, double fraction) const override
{
return defaultInterpolateTo(this, value, fraction);
}
- virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override { return true; }
+ bool usesDefaultInterpolationWith(const AnimatableValue*) const override { return true; }
private:
explicit AnimatableUnknown(PassRefPtrWillBeRawPtr<CSSValue> value)
@@ -73,8 +73,8 @@ private:
{
ASSERT(m_value);
}
- virtual AnimatableType type() const override { return TypeUnknown; }
- virtual bool equalTo(const AnimatableValue*) const override;
+ AnimatableType type() const override { return TypeUnknown; }
+ bool equalTo(const AnimatableValue*) const override;
const RefPtrWillBeMember<CSSValue> m_value;
};
« no previous file with comments | « Source/core/animation/animatable/AnimatableTransform.h ('k') | Source/core/animation/animatable/AnimatableValueKeyframe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698