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

Unified Diff: Source/core/animation/animatable/AnimatableUnknown.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/AnimatableUnknown.h
diff --git a/Source/core/animation/animatable/AnimatableUnknown.h b/Source/core/animation/animatable/AnimatableUnknown.h
index 7fa2cda43d63a7248926b416afc325edee6124de..9c375490d38ff7cd8b00212e91664bb307ed3680 100644
--- a/Source/core/animation/animatable/AnimatableUnknown.h
+++ b/Source/core/animation/animatable/AnimatableUnknown.h
@@ -37,7 +37,7 @@
namespace blink {
-class AnimatableUnknown FINAL : public AnimatableValue {
+class AnimatableUnknown final : public AnimatableValue {
public:
virtual ~AnimatableUnknown() { }
@@ -53,19 +53,19 @@ public:
PassRefPtrWillBeRawPtr<CSSValue> toCSSValue() const { return m_value; }
CSSValueID toCSSValueID() const { return toCSSPrimitiveValue(m_value.get())->getValueID(); }
- 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* value, double fraction) const OVERRIDE
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue* value, double fraction) const override
{
return defaultInterpolateTo(this, value, fraction);
}
- virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const OVERRIDE { return true; }
+ virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override { return true; }
private:
explicit AnimatableUnknown(PassRefPtrWillBeRawPtr<CSSValue> value)
@@ -73,8 +73,8 @@ private:
{
ASSERT(m_value);
}
- virtual AnimatableType type() const OVERRIDE { return TypeUnknown; }
- virtual bool equalTo(const AnimatableValue*) const OVERRIDE;
+ virtual AnimatableType type() const override { return TypeUnknown; }
+ virtual bool equalTo(const AnimatableValue*) const override;
const RefPtrWillBeMember<CSSValue> m_value;
};
« no previous file with comments | « Source/core/animation/animatable/AnimatableTransform.h ('k') | Source/core/animation/animatable/AnimatableValueKeyframe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698