| Index: third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp b/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
|
| index b644b0cff08edcbadcf3f71bf68bd9d61ad43d19..a87c533290e9d7ca15a5bb5728086ae4ade343fd 100644
|
| --- a/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
|
| @@ -48,12 +48,15 @@ SMILTimeContainer::SMILTimeContainer(SVGSVGElement& owner)
|
| m_started(false),
|
| m_paused(false),
|
| m_documentOrderIndexesDirty(false),
|
| - m_wakeupTimer(this, &SMILTimeContainer::wakeupTimerFired),
|
| - m_animationPolicyOnceTimer(this,
|
| - &SMILTimeContainer::animationPolicyTimerFired),
|
| - m_ownerSVGElement(&owner)
|
| -{
|
| -}
|
| + m_wakeupTimer(
|
| + TaskRunnerHelper::get(TaskType::UnspecedTimer, &owner.document()),
|
| + this,
|
| + &SMILTimeContainer::wakeupTimerFired),
|
| + m_animationPolicyOnceTimer(
|
| + TaskRunnerHelper::get(TaskType::UnspecedTimer, &owner.document()),
|
| + this,
|
| + &SMILTimeContainer::animationPolicyTimerFired),
|
| + m_ownerSVGElement(&owner) {}
|
|
|
| SMILTimeContainer::~SMILTimeContainer() {
|
| cancelAnimationFrame();
|
|
|