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

Unified Diff: Source/core/animation/animatable/AnimatableLengthPoint.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/AnimatableLengthPoint.h
diff --git a/Source/core/animation/animatable/AnimatableLengthPoint.h b/Source/core/animation/animatable/AnimatableLengthPoint.h
index 5510ef17e1fb894f22211df645c53f2ab23d411f..ef5ac28203c8156f10ef668087fdb073ee241ebc 100644
--- a/Source/core/animation/animatable/AnimatableLengthPoint.h
+++ b/Source/core/animation/animatable/AnimatableLengthPoint.h
@@ -35,7 +35,7 @@
namespace blink {
-class AnimatableLengthPoint FINAL : public AnimatableValue {
+class AnimatableLengthPoint final : public AnimatableValue {
public:
virtual ~AnimatableLengthPoint() { }
static PassRefPtrWillBeRawPtr<AnimatableLengthPoint> create(PassRefPtrWillBeRawPtr<AnimatableValue> x, PassRefPtrWillBeRawPtr<AnimatableValue> y)
@@ -45,10 +45,10 @@ public:
const AnimatableValue* x() const { return m_x.get(); }
const AnimatableValue* y() const { return m_y.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:
AnimatableLengthPoint(PassRefPtrWillBeRawPtr<AnimatableValue> x, PassRefPtrWillBeRawPtr<AnimatableValue> y)
@@ -56,8 +56,8 @@ private:
, m_y(y)
{
}
- virtual AnimatableType type() const OVERRIDE { return TypeLengthPoint; }
- virtual bool equalTo(const AnimatableValue*) const OVERRIDE;
+ virtual AnimatableType type() const override { return TypeLengthPoint; }
+ virtual bool equalTo(const AnimatableValue*) const override;
RefPtrWillBeMember<AnimatableValue> m_x;
RefPtrWillBeMember<AnimatableValue> m_y;

Powered by Google App Engine
This is Rietveld 408576698