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

Unified Diff: Source/core/animation/animatable/AnimatableLengthSize.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/AnimatableLengthSize.h
diff --git a/Source/core/animation/animatable/AnimatableLengthSize.h b/Source/core/animation/animatable/AnimatableLengthSize.h
index 343be6dcd208f189d5b83b755b61725166c8a20e..64aa8f71422afe8465d3786971b3d5c7e02d6112 100644
--- a/Source/core/animation/animatable/AnimatableLengthSize.h
+++ b/Source/core/animation/animatable/AnimatableLengthSize.h
@@ -37,7 +37,7 @@ namespace blink {
class AnimatableLengthSize final : public AnimatableValue {
public:
- virtual ~AnimatableLengthSize() { }
+ ~AnimatableLengthSize() override { }
static PassRefPtrWillBeRawPtr<AnimatableLengthSize> create(PassRefPtrWillBeRawPtr<AnimatableValue> width, PassRefPtrWillBeRawPtr<AnimatableValue> height)
{
return adoptRefWillBeNoop(new AnimatableLengthSize(width, height));
@@ -48,7 +48,7 @@ public:
DECLARE_VIRTUAL_TRACE();
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
private:
AnimatableLengthSize(PassRefPtrWillBeRawPtr<AnimatableValue> width, PassRefPtrWillBeRawPtr<AnimatableValue> height)
@@ -56,8 +56,8 @@ private:
, m_height(height)
{
}
- virtual AnimatableType type() const override { return TypeLengthSize; }
- virtual bool equalTo(const AnimatableValue*) const override;
+ AnimatableType type() const override { return TypeLengthSize; }
+ bool equalTo(const AnimatableValue*) const override;
RefPtrWillBeMember<AnimatableValue> m_width;
RefPtrWillBeMember<AnimatableValue> m_height;
« no previous file with comments | « Source/core/animation/animatable/AnimatableLengthPoint3D.h ('k') | Source/core/animation/animatable/AnimatableNeutral.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698