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

Unified Diff: Source/core/animation/animatable/AnimatableLength.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/AnimatableLength.h
diff --git a/Source/core/animation/animatable/AnimatableLength.h b/Source/core/animation/animatable/AnimatableLength.h
index d369e51065f46d8ab9e133ad4ca15c98c12f122a..36b9c0347fab6045cb4dd23a483ed42c3300e9f0 100644
--- a/Source/core/animation/animatable/AnimatableLength.h
+++ b/Source/core/animation/animatable/AnimatableLength.h
@@ -53,7 +53,7 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE() { AnimatableValue::trace(visitor); }
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
private:
static PassRefPtrWillBeRawPtr<AnimatableLength> create(double pixels, double percent, bool hasPixels, bool hasPercent)
@@ -69,8 +69,8 @@ private:
{
ASSERT(m_hasPixels || m_hasPercent);
}
- virtual AnimatableType type() const override { return TypeLength; }
- virtual bool equalTo(const AnimatableValue*) const override;
+ AnimatableType type() const override { return TypeLength; }
+ bool equalTo(const AnimatableValue*) const override;
double m_pixels;
double m_percent;
« no previous file with comments | « Source/core/animation/animatable/AnimatableImage.h ('k') | Source/core/animation/animatable/AnimatableLengthBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698