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

Unified Diff: Source/core/animation/animatable/AnimatableLengthBoxAndBool.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/AnimatableLengthBoxAndBool.h
diff --git a/Source/core/animation/animatable/AnimatableLengthBoxAndBool.h b/Source/core/animation/animatable/AnimatableLengthBoxAndBool.h
index 3b64b3f2b41fa9c48ebfd64b072cdbefe3fe3f15..56dc8ed6fe3a67a8b2e8cea1160c90f44b063e88 100644
--- a/Source/core/animation/animatable/AnimatableLengthBoxAndBool.h
+++ b/Source/core/animation/animatable/AnimatableLengthBoxAndBool.h
@@ -37,7 +37,7 @@ namespace blink {
class AnimatableLengthBoxAndBool final : public AnimatableValue {
public:
- virtual ~AnimatableLengthBoxAndBool() { }
+ ~AnimatableLengthBoxAndBool() override { }
static PassRefPtrWillBeRawPtr<AnimatableLengthBoxAndBool> create(PassRefPtrWillBeRawPtr<AnimatableValue> box, bool flag)
{
return adoptRefWillBeNoop(new AnimatableLengthBoxAndBool(box, flag));
@@ -48,8 +48,8 @@ public:
DECLARE_VIRTUAL_TRACE();
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:
AnimatableLengthBoxAndBool(PassRefPtrWillBeRawPtr<AnimatableValue> box, bool flag)
@@ -57,8 +57,8 @@ private:
, m_flag(flag)
{
}
- virtual AnimatableType type() const override { return TypeLengthBoxAndBool; }
- virtual bool equalTo(const AnimatableValue*) const override;
+ AnimatableType type() const override { return TypeLengthBoxAndBool; }
+ bool equalTo(const AnimatableValue*) const override;
RefPtrWillBeMember<AnimatableValue> m_box;
bool m_flag;
« no previous file with comments | « Source/core/animation/animatable/AnimatableLengthBox.h ('k') | Source/core/animation/animatable/AnimatableLengthPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698