| Index: third_party/WebKit/Source/core/animation/AnimationTimeline.h
|
| diff --git a/third_party/WebKit/Source/core/animation/AnimationTimeline.h b/third_party/WebKit/Source/core/animation/AnimationTimeline.h
|
| index 534d9fe576197b6260fee91112bcad3310397da6..e49f50d473e563374123ed8f3d0f6ba6ac59d112 100644
|
| --- a/third_party/WebKit/Source/core/animation/AnimationTimeline.h
|
| +++ b/third_party/WebKit/Source/core/animation/AnimationTimeline.h
|
| @@ -36,6 +36,7 @@
|
| #include "core/animation/Animation.h"
|
| #include "core/animation/EffectModel.h"
|
| #include "core/dom/Element.h"
|
| +#include "core/dom/TaskRunnerHelper.h"
|
| #include "platform/Timer.h"
|
| #include "platform/animation/CompositorAnimationTimeline.h"
|
| #include "platform/heap/Handle.h"
|
| @@ -138,7 +139,10 @@ class CORE_EXPORT AnimationTimeline
|
| public:
|
| AnimationTimelineTiming(AnimationTimeline* timeline)
|
| : m_timeline(timeline),
|
| - m_timer(this, &AnimationTimelineTiming::timerFired) {
|
| + m_timer(TaskRunnerHelper::get(TaskType::UnspecedTimer,
|
| + timeline->document()),
|
| + this,
|
| + &AnimationTimelineTiming::timerFired) {
|
| DCHECK(m_timeline);
|
| }
|
|
|
| @@ -151,7 +155,7 @@ class CORE_EXPORT AnimationTimeline
|
|
|
| private:
|
| Member<AnimationTimeline> m_timeline;
|
| - Timer<AnimationTimelineTiming> m_timer;
|
| + TaskRunnerTimer<AnimationTimelineTiming> m_timer;
|
| };
|
|
|
| friend class AnimationAnimationTimelineTest;
|
|
|