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

Unified Diff: Source/core/animation/animatable/AnimatableImage.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/AnimatableImage.h
diff --git a/Source/core/animation/animatable/AnimatableImage.h b/Source/core/animation/animatable/AnimatableImage.h
index 260f0b42cec57f52e8b66b0dcfd7d7537a176282..e54bd4e745451219478f6fbaf2d5ba4d88d2225e 100644
--- a/Source/core/animation/animatable/AnimatableImage.h
+++ b/Source/core/animation/animatable/AnimatableImage.h
@@ -39,7 +39,7 @@ namespace blink {
class AnimatableImage final : public AnimatableValue {
public:
- virtual ~AnimatableImage() { }
+ ~AnimatableImage() override { }
static PassRefPtrWillBeRawPtr<AnimatableImage> create(PassRefPtrWillBeRawPtr<CSSValue> value)
{
return adoptRefWillBeNoop(new AnimatableImage(value));
@@ -53,8 +53,8 @@ public:
}
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:
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;
+ AnimatableType type() const override { return TypeImage; }
+ 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