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

Unified Diff: Source/core/animation/animatable/AnimatableShadow.h

Issue 1226293002: Fix virtual/override/final usage in Source/core/{animation,css,style}/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/AnimatableShadow.h
diff --git a/Source/core/animation/animatable/AnimatableShadow.h b/Source/core/animation/animatable/AnimatableShadow.h
index 552288b3784ce6d6406a0b90e02663a7ef3ebd43..ba93fd1f7ef9563cbe6155db46b0365f37084ee9 100644
--- a/Source/core/animation/animatable/AnimatableShadow.h
+++ b/Source/core/animation/animatable/AnimatableShadow.h
@@ -38,7 +38,7 @@ namespace blink {
class AnimatableShadow final : public AnimatableValue {
public:
- virtual ~AnimatableShadow() { }
+ ~AnimatableShadow() override { }
static PassRefPtrWillBeRawPtr<AnimatableShadow> create(PassRefPtr<ShadowList> shadowList, const Color& currentColor)
{
return adoptRefWillBeNoop(new AnimatableShadow(shadowList, currentColor));
@@ -48,8 +48,8 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE() { AnimatableValue::trace(visitor); }
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
- virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
+ PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
private:
explicit AnimatableShadow(PassRefPtr<ShadowList> shadowList, const Color& currentColor)
@@ -57,8 +57,8 @@ private:
m_currentColor(currentColor)
{
}
- virtual AnimatableType type() const override { return TypeShadow; }
- virtual bool equalTo(const AnimatableValue*) const override;
+ AnimatableType type() const override { return TypeShadow; }
+ bool equalTo(const AnimatableValue*) const override;
const RefPtr<ShadowList> m_shadowList;
const Color m_currentColor;
« no previous file with comments | « Source/core/animation/animatable/AnimatableSVGPaint.h ('k') | Source/core/animation/animatable/AnimatableShapeValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698