Chromium Code Reviews| Index: Source/web/WebKit.cpp |
| diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp |
| index e2615483f845f2685a54a7c72ba93b39bec94f5d..649fa5a465da05c1eac08b353e0d5186d9f95f0b 100644 |
| --- a/Source/web/WebKit.cpp |
| +++ b/Source/web/WebKit.cpp |
| @@ -35,6 +35,7 @@ |
| #include "bindings/v8/V8Binding.h" |
| #include "bindings/v8/V8Initializer.h" |
| #include "core/Init.h" |
| +#include "core/animation/AnimationClock.h" |
| #include "core/dom/Microtask.h" |
| #include "core/frame/Settings.h" |
| #include "core/page/Page.h" |
| @@ -66,7 +67,10 @@ namespace { |
| class EndOfTaskRunner : public WebThread::TaskObserver { |
| public: |
| - virtual void willProcessTask() { } |
| + virtual void willProcessTask() |
|
esprehn
2014/05/07 06:07:06
Can you add OVERRIDE to both of these?
dstockwell
2014/05/07 06:51:38
Done.
|
| + { |
| + WebCore::AnimationClock::notifyTaskStart(); |
| + } |
| virtual void didProcessTask() |
| { |
| WebCore::Microtask::performCheckpoint(); |