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

Unified Diff: Source/core/animation/animatable/AnimatableRepeatable.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/AnimatableRepeatable.h
diff --git a/Source/core/animation/animatable/AnimatableRepeatable.h b/Source/core/animation/animatable/AnimatableRepeatable.h
index 2b144b095a382a62c80d908965e2c4cb34fbbfe4..86957f0b56372ae05048b01b27e676ccdf8dadc2 100644
--- a/Source/core/animation/animatable/AnimatableRepeatable.h
+++ b/Source/core/animation/animatable/AnimatableRepeatable.h
@@ -41,7 +41,7 @@ namespace blink {
// http://www.w3.org/TR/css3-transitions/#animtype-repeatable-list
class CORE_EXPORT AnimatableRepeatable : public AnimatableValue {
public:
- virtual ~AnimatableRepeatable() { }
+ ~AnimatableRepeatable() override { }
// This will consume the vector passed into it.
static PassRefPtrWillBeRawPtr<AnimatableRepeatable> create(WillBeHeapVector<RefPtrWillBeMember<AnimatableValue>>& values)
@@ -65,15 +65,15 @@ protected:
static bool interpolateLists(const WillBeHeapVector<RefPtrWillBeMember<AnimatableValue>>& fromValues, const WillBeHeapVector<RefPtrWillBeMember<AnimatableValue>>& toValues, double fraction, WillBeHeapVector<RefPtrWillBeMember<AnimatableValue>>& interpolatedValues);
- virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
+ bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
WillBeHeapVector<RefPtrWillBeMember<AnimatableValue>> m_values;
private:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
- virtual AnimatableType type() const override { return TypeRepeatable; }
- virtual bool equalTo(const AnimatableValue*) const override final;
+ AnimatableType type() const override { return TypeRepeatable; }
+ bool equalTo(const AnimatableValue*) const final;
};
DEFINE_TYPE_CASTS(AnimatableRepeatable, AnimatableValue, value, (value->isRepeatable() || value->isStrokeDasharrayList()), (value.isRepeatable() || value.isStrokeDasharrayList()));
« no previous file with comments | « Source/core/animation/animatable/AnimatableNeutral.h ('k') | Source/core/animation/animatable/AnimatableSVGPaint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698