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

Unified Diff: Source/core/animation/TimedItemTest.cpp

Issue 135833002: Add missing virtual keyword for methods with OVERRIDE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | « Source/core/animation/CompositorAnimationsTestHelper.h ('k') | Source/core/dom/MessagePort.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/TimedItemTest.cpp
diff --git a/Source/core/animation/TimedItemTest.cpp b/Source/core/animation/TimedItemTest.cpp
index 6bd34ab67cc3785ac192fbb0bdcd23b519ce4979..8742f481448c6d3ba6bc61fc543c1776d5512475 100644
--- a/Source/core/animation/TimedItemTest.cpp
+++ b/Source/core/animation/TimedItemTest.cpp
@@ -39,7 +39,7 @@ namespace {
class TestTimedItemEventDelegate : public TimedItem::EventDelegate {
public:
- void onEventCondition(const TimedItem* timedItem, bool isFirstSample, TimedItem::Phase previousPhase, double previousIteration) OVERRIDE
+ virtual void onEventCondition(const TimedItem* timedItem, bool isFirstSample, TimedItem::Phase previousPhase, double previousIteration) OVERRIDE
{
m_eventTriggered = true;
m_phaseChanged = previousPhase != timedItem->phase();
@@ -75,10 +75,10 @@ public:
TimedItem::updateInheritedTime(time);
}
- bool updateChildrenAndEffects() const OVERRIDE { return false; }
+ virtual bool updateChildrenAndEffects() const OVERRIDE { return false; }
void willDetach() { }
TestTimedItemEventDelegate* eventDelegate() { return m_eventDelegate; }
- double calculateTimeToEffectChange(double localTime, double timeToNextIteration) const OVERRIDE
+ virtual double calculateTimeToEffectChange(double localTime, double timeToNextIteration) const OVERRIDE
{
m_localTime = localTime;
m_timeToNextIteration = timeToNextIteration;
« no previous file with comments | « Source/core/animation/CompositorAnimationsTestHelper.h ('k') | Source/core/dom/MessagePort.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698