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

Unified Diff: Source/core/animation/animatable/AnimatableLengthBox.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/AnimatableLengthBox.h
diff --git a/Source/core/animation/animatable/AnimatableLengthBox.h b/Source/core/animation/animatable/AnimatableLengthBox.h
index c93688e9f73ce7ccadbf5983b41434bfcc4b3b9d..3968111a80c03d7c311eaee990c85f363965b984 100644
--- a/Source/core/animation/animatable/AnimatableLengthBox.h
+++ b/Source/core/animation/animatable/AnimatableLengthBox.h
@@ -37,7 +37,7 @@ namespace blink {
class AnimatableLengthBox final : public AnimatableValue {
public:
- virtual ~AnimatableLengthBox() { }
+ ~AnimatableLengthBox() override { }
static PassRefPtrWillBeRawPtr<AnimatableLengthBox> create(PassRefPtrWillBeRawPtr<AnimatableValue> left, PassRefPtrWillBeRawPtr<AnimatableValue> right, PassRefPtrWillBeRawPtr<AnimatableValue> top, PassRefPtrWillBeRawPtr<AnimatableValue> bottom)
{
return adoptRefWillBeNoop(new AnimatableLengthBox(left, right, top, bottom));
@@ -50,7 +50,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:
AnimatableLengthBox(PassRefPtrWillBeRawPtr<AnimatableValue> left, PassRefPtrWillBeRawPtr<AnimatableValue> right, PassRefPtrWillBeRawPtr<AnimatableValue> top, PassRefPtrWillBeRawPtr<AnimatableValue> bottom)
@@ -60,8 +60,8 @@ private:
, m_bottom(bottom)
{
}
- virtual AnimatableType type() const override { return TypeLengthBox; }
- virtual bool equalTo(const AnimatableValue*) const override;
+ AnimatableType type() const override { return TypeLengthBox; }
+ bool equalTo(const AnimatableValue*) const override;
RefPtrWillBeMember<AnimatableValue> m_left;
RefPtrWillBeMember<AnimatableValue> m_right;
« no previous file with comments | « Source/core/animation/animatable/AnimatableLength.h ('k') | Source/core/animation/animatable/AnimatableLengthBoxAndBool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698