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

Unified Diff: Source/core/animation/Animation.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
« no previous file with comments | « no previous file | Source/core/animation/AnimationNodeTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/Animation.h
diff --git a/Source/core/animation/Animation.h b/Source/core/animation/Animation.h
index 85b5ba62553671d1dafb9b6a3ff8473056c16d91..b63508b25dce8191af652245299e9e7b2702302a 100644
--- a/Source/core/animation/Animation.h
+++ b/Source/core/animation/Animation.h
@@ -45,7 +45,7 @@ class Element;
class ExceptionState;
class SampledEffect;
-class Animation FINAL : public AnimationNode {
+class Animation final : public AnimationNode {
DEFINE_WRAPPERTYPEINFO();
public:
enum Priority { DefaultPriority, TransitionPriority };
@@ -61,7 +61,7 @@ public:
virtual ~Animation();
- virtual bool isAnimation() const OVERRIDE { return true; }
+ virtual bool isAnimation() const override { return true; }
bool affects(CSSPropertyID) const;
const AnimationEffect* effect() const { return m_effect.get(); }
@@ -88,11 +88,11 @@ public:
protected:
void applyEffects();
void clearEffects();
- virtual void updateChildrenAndEffects() const OVERRIDE;
- virtual void attach(AnimationPlayer*) OVERRIDE;
- virtual void detach() OVERRIDE;
- virtual void specifiedTimingChanged() OVERRIDE;
- virtual double calculateTimeToEffectChange(bool forwards, double inheritedTime, double timeToNextIteration) const OVERRIDE;
+ virtual void updateChildrenAndEffects() const override;
+ virtual void attach(AnimationPlayer*) override;
+ virtual void detach() override;
+ virtual void specifiedTimingChanged() override;
+ virtual double calculateTimeToEffectChange(bool forwards, double inheritedTime, double timeToNextIteration) const override;
private:
Animation(Element*, PassRefPtrWillBeRawPtr<AnimationEffect>, const Timing&, Priority, PassOwnPtrWillBeRawPtr<EventDelegate>);
« no previous file with comments | « no previous file | Source/core/animation/AnimationNodeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698