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

Unified Diff: Source/core/animation/animatable/AnimatableDouble.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/AnimatableDouble.h
diff --git a/Source/core/animation/animatable/AnimatableDouble.h b/Source/core/animation/animatable/AnimatableDouble.h
index a37d0c836f14bb488cf2d69937e539d0ecee4bc2..ae765dc6ed2ea260f796fa83de02120b797eb490 100644
--- a/Source/core/animation/animatable/AnimatableDouble.h
+++ b/Source/core/animation/animatable/AnimatableDouble.h
@@ -38,7 +38,7 @@ namespace blink {
class CORE_EXPORT AnimatableDouble final : public AnimatableValue {
public:
- virtual ~AnimatableDouble() { }
+ ~AnimatableDouble() override { }
enum Constraint {
Unconstrained,
@@ -55,8 +55,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:
AnimatableDouble(double number, Constraint constraint)
@@ -64,8 +64,8 @@ private:
, m_constraint(constraint)
{
}
- virtual AnimatableType type() const override { return TypeDouble; }
- virtual bool equalTo(const AnimatableValue*) const override;
+ AnimatableType type() const override { return TypeDouble; }
+ bool equalTo(const AnimatableValue*) const override;
double m_number;
Constraint m_constraint;
« no previous file with comments | « Source/core/animation/animatable/AnimatableColor.h ('k') | Source/core/animation/animatable/AnimatableDoubleAndBool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698