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

Unified Diff: Source/core/animation/animatable/AnimatableLengthSize.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/AnimatableLengthSize.h
diff --git a/Source/core/animation/animatable/AnimatableLengthSize.h b/Source/core/animation/animatable/AnimatableLengthSize.h
index f7de0ed4a31847005babe9260fd99741ccff1af4..3770bb79948d34cad43a928bccdae8fb58ae66d8 100644
--- a/Source/core/animation/animatable/AnimatableLengthSize.h
+++ b/Source/core/animation/animatable/AnimatableLengthSize.h
@@ -35,7 +35,7 @@
namespace blink {
-class AnimatableLengthSize FINAL : public AnimatableValue {
+class AnimatableLengthSize final : public AnimatableValue {
public:
virtual ~AnimatableLengthSize() { }
static PassRefPtrWillBeRawPtr<AnimatableLengthSize> create(PassRefPtrWillBeRawPtr<AnimatableValue> width, PassRefPtrWillBeRawPtr<AnimatableValue> height)
@@ -45,10 +45,10 @@ public:
const AnimatableValue* width() const { return m_width.get(); }
const AnimatableValue* height() const { return m_height.get(); }
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
private:
AnimatableLengthSize(PassRefPtrWillBeRawPtr<AnimatableValue> width, PassRefPtrWillBeRawPtr<AnimatableValue> height)
@@ -56,8 +56,8 @@ private:
, m_height(height)
{
}
- virtual AnimatableType type() const OVERRIDE { return TypeLengthSize; }
- virtual bool equalTo(const AnimatableValue*) const OVERRIDE;
+ virtual AnimatableType type() const override { return TypeLengthSize; }
+ virtual bool equalTo(const AnimatableValue*) const override;
RefPtrWillBeMember<AnimatableValue> m_width;
RefPtrWillBeMember<AnimatableValue> m_height;
« no previous file with comments | « Source/core/animation/animatable/AnimatableLengthPoint3D.h ('k') | Source/core/animation/animatable/AnimatableNeutral.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698