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

Unified Diff: Source/core/animation/animatable/AnimatableLengthPoint.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/AnimatableLengthPoint.h
diff --git a/Source/core/animation/animatable/AnimatableLengthPoint.h b/Source/core/animation/animatable/AnimatableLengthPoint.h
index d4bb8526145afe789e25ac7a872bba0a7c42c99b..8034de5abbbd8b6c25f60685c14719c6745b3d2e 100644
--- a/Source/core/animation/animatable/AnimatableLengthPoint.h
+++ b/Source/core/animation/animatable/AnimatableLengthPoint.h
@@ -37,7 +37,7 @@ namespace blink {
class AnimatableLengthPoint final : public AnimatableValue {
public:
- virtual ~AnimatableLengthPoint() { }
+ ~AnimatableLengthPoint() override { }
static PassRefPtrWillBeRawPtr<AnimatableLengthPoint> create(PassRefPtrWillBeRawPtr<AnimatableValue> x, PassRefPtrWillBeRawPtr<AnimatableValue> y)
{
return adoptRefWillBeNoop(new AnimatableLengthPoint(x, y));
@@ -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:
AnimatableLengthPoint(PassRefPtrWillBeRawPtr<AnimatableValue> x, PassRefPtrWillBeRawPtr<AnimatableValue> y)
@@ -56,8 +56,8 @@ private:
, m_y(y)
{
}
- virtual AnimatableType type() const override { return TypeLengthPoint; }
- virtual bool equalTo(const AnimatableValue*) const override;
+ AnimatableType type() const override { return TypeLengthPoint; }
+ bool equalTo(const AnimatableValue*) const override;
RefPtrWillBeMember<AnimatableValue> m_x;
RefPtrWillBeMember<AnimatableValue> m_y;

Powered by Google App Engine
This is Rietveld 408576698