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

Unified Diff: Source/core/animation/animatable/AnimatableLength.h

Issue 630993005: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added cpp to list Created 6 years, 2 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 cf6473149a8ddd5f3bb165f274764534e094136d..7fd702c71cccff6385263eb2cb52bad007c3000c 100644
--- a/Source/core/animation/animatable/AnimatableLength.h
+++ b/Source/core/animation/animatable/AnimatableLength.h
@@ -36,7 +36,7 @@
namespace blink {
-class AnimatableLength FINAL : public AnimatableValue {
+class AnimatableLength final : public AnimatableValue {
public:
static PassRefPtrWillBeRawPtr<AnimatableLength> create(const Length& length, float zoom)
{
@@ -45,7 +45,7 @@ public:
Length length(float zoom, ValueRange) const;
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
private:
static PassRefPtrWillBeRawPtr<AnimatableLength> create(double pixels, double percent, bool hasPixels, bool hasPercent)
@@ -61,10 +61,10 @@ private:
{
ASSERT(m_hasPixels || m_hasPercent);
}
- virtual AnimatableType type() const OVERRIDE { return TypeLength; }
- virtual bool equalTo(const AnimatableValue*) const OVERRIDE;
+ virtual AnimatableType type() const override { return TypeLength; }
+ virtual bool equalTo(const AnimatableValue*) const override;
- virtual void trace(Visitor* visitor) OVERRIDE { AnimatableValue::trace(visitor); }
+ virtual void trace(Visitor* visitor) override { AnimatableValue::trace(visitor); }
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