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

Unified Diff: Source/core/animation/animatable/AnimatableDoubleAndBool.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/AnimatableDoubleAndBool.h
diff --git a/Source/core/animation/animatable/AnimatableDoubleAndBool.h b/Source/core/animation/animatable/AnimatableDoubleAndBool.h
index 137369f826a1d0a2d3e90ec4844a039662441eaf..0dcd73e4913d3dbf18252a91da36c3afd0bf5861 100644
--- a/Source/core/animation/animatable/AnimatableDoubleAndBool.h
+++ b/Source/core/animation/animatable/AnimatableDoubleAndBool.h
@@ -12,7 +12,7 @@ namespace blink {
class CORE_EXPORT AnimatableDoubleAndBool final : public AnimatableValue {
public:
- virtual ~AnimatableDoubleAndBool() { }
+ ~AnimatableDoubleAndBool() override { }
static PassRefPtrWillBeRawPtr<AnimatableDoubleAndBool> create(double number, bool flag)
{
return adoptRefWillBeNoop(new AnimatableDoubleAndBool(number, flag));
@@ -24,8 +24,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:
AnimatableDoubleAndBool(double number, bool flag)
@@ -33,8 +33,8 @@ private:
, m_flag(flag)
{
}
- virtual AnimatableType type() const override { return TypeDoubleAndBool; }
- virtual bool equalTo(const AnimatableValue*) const override;
+ AnimatableType type() const override { return TypeDoubleAndBool; }
+ bool equalTo(const AnimatableValue*) const override;
double m_number;
bool m_flag;
« no previous file with comments | « Source/core/animation/animatable/AnimatableDouble.h ('k') | Source/core/animation/animatable/AnimatableFilterOperations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698