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

Unified Diff: Source/core/animation/animatable/AnimatableImage.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/AnimatableImage.h
diff --git a/Source/core/animation/animatable/AnimatableImage.h b/Source/core/animation/animatable/AnimatableImage.h
index f3d87a34aa5415724551cfb5ef08790f8c84f0d3..6627c33fab4ebbf66860e3b3c7196a25167734fe 100644
--- a/Source/core/animation/animatable/AnimatableImage.h
+++ b/Source/core/animation/animatable/AnimatableImage.h
@@ -37,7 +37,7 @@
namespace blink {
-class AnimatableImage FINAL : public AnimatableValue {
+class AnimatableImage final : public AnimatableValue {
public:
virtual ~AnimatableImage() { }
static PassRefPtrWillBeRawPtr<AnimatableImage> create(PassRefPtrWillBeRawPtr<CSSValue> value)
@@ -46,15 +46,15 @@ public:
}
CSSValue* toCSSValue() const { return m_value.get(); }
- virtual void trace(Visitor* visitor) OVERRIDE
+ virtual void trace(Visitor* visitor) override
{
visitor->trace(m_value);
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:
AnimatableImage(PassRefPtrWillBeRawPtr<CSSValue> value)
@@ -62,8 +62,8 @@ private:
{
ASSERT(m_value.get());
}
- virtual AnimatableType type() const OVERRIDE { return TypeImage; }
- virtual bool equalTo(const AnimatableValue*) const OVERRIDE;
+ virtual AnimatableType type() const override { return TypeImage; }
+ virtual bool equalTo(const AnimatableValue*) const override;
const RefPtrWillBeMember<CSSValue> m_value;
};
« no previous file with comments | « Source/core/animation/animatable/AnimatableFilterOperations.h ('k') | Source/core/animation/animatable/AnimatableLength.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698