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

Unified Diff: Source/core/animation/animatable/AnimatableColor.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/AnimatableColor.h
diff --git a/Source/core/animation/animatable/AnimatableColor.h b/Source/core/animation/animatable/AnimatableColor.h
index cca1c4e315318c86f0e6ee8ae812b2b8d9c2fcc6..ba40b0a0b026756828c8c0fe455f356f33ecd711 100644
--- a/Source/core/animation/animatable/AnimatableColor.h
+++ b/Source/core/animation/animatable/AnimatableColor.h
@@ -56,16 +56,16 @@ private:
// property. Currently it is used for all properties, even those which do not
// support a separate 'visited link' color (eg SVG properties). This is correct
// but inefficient.
-class AnimatableColor FINAL : public AnimatableValue {
+class AnimatableColor final : public AnimatableValue {
public:
static PassRefPtrWillBeRawPtr<AnimatableColor> create(const AnimatableColorImpl&, const AnimatableColorImpl& visitedLinkColor);
Color color() const { return m_color.toColor(); }
Color visitedLinkColor() const { return m_visitedLinkColor.toColor(); }
- virtual void trace(Visitor* visitor) OVERRIDE { AnimatableValue::trace(visitor); }
+ virtual void trace(Visitor* visitor) override { AnimatableValue::trace(visitor); }
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
private:
AnimatableColor(const AnimatableColorImpl& color, const AnimatableColorImpl& visitedLinkColor)
@@ -73,9 +73,9 @@ private:
, m_visitedLinkColor(visitedLinkColor)
{
}
- virtual AnimatableType type() const OVERRIDE { return TypeColor; }
- virtual bool equalTo(const AnimatableValue*) const OVERRIDE;
- virtual double distanceTo(const AnimatableValue*) const OVERRIDE;
+ virtual AnimatableType type() const override { return TypeColor; }
+ virtual bool equalTo(const AnimatableValue*) const override;
+ virtual double distanceTo(const AnimatableValue*) const override;
const AnimatableColorImpl m_color;
const AnimatableColorImpl m_visitedLinkColor;
};
« no previous file with comments | « Source/core/animation/animatable/AnimatableClipPathOperation.h ('k') | Source/core/animation/animatable/AnimatableDouble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698