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

Unified Diff: Source/core/animation/animatable/AnimatableDouble.h

Issue 630993005: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added cpp to list Created 6 years, 2 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/AnimatableDouble.h
diff --git a/Source/core/animation/animatable/AnimatableDouble.h b/Source/core/animation/animatable/AnimatableDouble.h
index cf6760dd0001754da4f7854818194323836ac62f..5b0bec0ff66eb6ca636f956bc0c2fc9e0170ac0c 100644
--- a/Source/core/animation/animatable/AnimatableDouble.h
+++ b/Source/core/animation/animatable/AnimatableDouble.h
@@ -35,7 +35,7 @@
namespace blink {
-class AnimatableDouble FINAL : public AnimatableValue {
+class AnimatableDouble final : public AnimatableValue {
public:
virtual ~AnimatableDouble() { }
@@ -51,11 +51,11 @@ public:
double toDouble() const { return m_number; }
- virtual void trace(Visitor* visitor) OVERRIDE { AnimatableValue::trace(visitor); }
+ virtual void trace(Visitor* visitor) override { AnimatableValue::trace(visitor); }
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
- virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
private:
AnimatableDouble(double number, Constraint constraint)
@@ -63,9 +63,9 @@ private:
, m_constraint(constraint)
{
}
- virtual AnimatableType type() const OVERRIDE { return TypeDouble; }
- virtual bool equalTo(const AnimatableValue*) const OVERRIDE;
- virtual double distanceTo(const AnimatableValue*) const OVERRIDE;
+ virtual AnimatableType type() const override { return TypeDouble; }
+ virtual bool equalTo(const AnimatableValue*) const override;
+ virtual double distanceTo(const AnimatableValue*) const override;
double m_number;
Constraint m_constraint;
« no previous file with comments | « Source/core/animation/animatable/AnimatableColor.h ('k') | Source/core/animation/animatable/AnimatableFilterOperations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698