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

Unified Diff: Source/core/animation/animatable/AnimatableNeutral.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/AnimatableNeutral.h
diff --git a/Source/core/animation/animatable/AnimatableNeutral.h b/Source/core/animation/animatable/AnimatableNeutral.h
index 76bb9b8b10904ec98094cf59edfd46be24f3dd1d..cca9f77bac2c53587d7e8abf24e570b301705f80 100644
--- a/Source/core/animation/animatable/AnimatableNeutral.h
+++ b/Source/core/animation/animatable/AnimatableNeutral.h
@@ -37,13 +37,13 @@ namespace blink {
class AnimatableNeutral final : public AnimatableValue {
public:
- virtual ~AnimatableNeutral() { }
+ ~AnimatableNeutral() override { }
DEFINE_INLINE_VIRTUAL_TRACE() { AnimatableValue::trace(visitor); }
protected:
static PassRefPtrWillBeRawPtr<AnimatableNeutral> create() { return adoptRefWillBeNoop(new AnimatableNeutral()); }
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue* value, double fraction) const override
+ PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue* value, double fraction) const override
{
ASSERT_NOT_REACHED();
return nullptr;
@@ -51,8 +51,8 @@ protected:
private:
friend class AnimatableValue;
- virtual AnimatableType type() const override { return TypeNeutral; }
- virtual bool equalTo(const AnimatableValue* value) const override
+ AnimatableType type() const override { return TypeNeutral; }
+ bool equalTo(const AnimatableValue* value) const override
{
ASSERT_NOT_REACHED();
return true;
« no previous file with comments | « Source/core/animation/animatable/AnimatableLengthSize.h ('k') | Source/core/animation/animatable/AnimatableRepeatable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698