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

Unified Diff: Source/core/animation/animatable/AnimatableSVGPaint.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/AnimatableSVGPaint.h
diff --git a/Source/core/animation/animatable/AnimatableSVGPaint.h b/Source/core/animation/animatable/AnimatableSVGPaint.h
index 2565bdafcb4c9dff3ab0195ad934964497767355..6db93c259d12bcaafae8927a7d5c500306b1739d 100644
--- a/Source/core/animation/animatable/AnimatableSVGPaint.h
+++ b/Source/core/animation/animatable/AnimatableSVGPaint.h
@@ -37,7 +37,7 @@
namespace blink {
-class AnimatableSVGPaint FINAL : public AnimatableValue {
+class AnimatableSVGPaint final : public AnimatableValue {
public:
virtual ~AnimatableSVGPaint() { }
static PassRefPtrWillBeRawPtr<AnimatableSVGPaint> create(
@@ -61,15 +61,15 @@ public:
const String& uri() const { return m_uri; };
const String& visitedLinkURI() const { return m_visitedLinkURI; };
- virtual void trace(Visitor* visitor) OVERRIDE
+ virtual void trace(Visitor* visitor) override
{
visitor->trace(m_color);
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:
AnimatableSVGPaint(SVGPaintType type, SVGPaintType visitedLinkType, PassRefPtrWillBeRawPtr<AnimatableColor> color, const String& uri, const String& visitedLinkURI)
@@ -80,8 +80,8 @@ private:
, m_visitedLinkURI(visitedLinkURI)
{
}
- virtual AnimatableType type() const OVERRIDE { return TypeSVGPaint; }
- virtual bool equalTo(const AnimatableValue*) const OVERRIDE;
+ virtual AnimatableType type() const override { return TypeSVGPaint; }
+ virtual bool equalTo(const AnimatableValue*) const override;
SVGPaintType m_type;
SVGPaintType m_visitedLinkType;
« no previous file with comments | « Source/core/animation/animatable/AnimatableSVGLength.h ('k') | Source/core/animation/animatable/AnimatableShadow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698