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

Unified Diff: Source/core/animation/animatable/AnimatableLengthBox.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/AnimatableLengthBox.h
diff --git a/Source/core/animation/animatable/AnimatableLengthBox.h b/Source/core/animation/animatable/AnimatableLengthBox.h
index f9a709ed411ae176e467bc4bded946a621d93749..4cb87288438b3779297ca01dc5d643be007d53f3 100644
--- a/Source/core/animation/animatable/AnimatableLengthBox.h
+++ b/Source/core/animation/animatable/AnimatableLengthBox.h
@@ -35,7 +35,7 @@
namespace blink {
-class AnimatableLengthBox FINAL : public AnimatableValue {
+class AnimatableLengthBox final : public AnimatableValue {
public:
virtual ~AnimatableLengthBox() { }
static PassRefPtrWillBeRawPtr<AnimatableLengthBox> create(PassRefPtrWillBeRawPtr<AnimatableValue> left, PassRefPtrWillBeRawPtr<AnimatableValue> right, PassRefPtrWillBeRawPtr<AnimatableValue> top, PassRefPtrWillBeRawPtr<AnimatableValue> bottom)
@@ -47,10 +47,10 @@ public:
const AnimatableValue* top() const { return m_top.get(); }
const AnimatableValue* bottom() const { return m_bottom.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:
AnimatableLengthBox(PassRefPtrWillBeRawPtr<AnimatableValue> left, PassRefPtrWillBeRawPtr<AnimatableValue> right, PassRefPtrWillBeRawPtr<AnimatableValue> top, PassRefPtrWillBeRawPtr<AnimatableValue> bottom)
@@ -60,8 +60,8 @@ private:
, m_bottom(bottom)
{
}
- virtual AnimatableType type() const OVERRIDE { return TypeLengthBox; }
- virtual bool equalTo(const AnimatableValue*) const OVERRIDE;
+ virtual AnimatableType type() const override { return TypeLengthBox; }
+ virtual bool equalTo(const AnimatableValue*) const override;
RefPtrWillBeMember<AnimatableValue> m_left;
RefPtrWillBeMember<AnimatableValue> m_right;
« no previous file with comments | « Source/core/animation/animatable/AnimatableLength.h ('k') | Source/core/animation/animatable/AnimatableLengthBoxAndBool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698