| Index: third_party/WebKit/Source/core/layout/LayoutProgress.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutProgress.cpp b/third_party/WebKit/Source/core/layout/LayoutProgress.cpp
|
| index acee022e4f7aa8d2f977414bd790e9832e15424a..51bef297aa1e1e53c7eb9845178f375c8064c676 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutProgress.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutProgress.cpp
|
| @@ -20,6 +20,7 @@
|
|
|
| #include "core/layout/LayoutProgress.h"
|
|
|
| +#include "core/dom/TaskRunnerHelper.h"
|
| #include "core/html/HTMLProgressElement.h"
|
| #include "core/layout/LayoutTheme.h"
|
| #include "wtf/CurrentTime.h"
|
| @@ -34,7 +35,10 @@ LayoutProgress::LayoutProgress(HTMLProgressElement* element)
|
| m_animationRepeatInterval(0),
|
| m_animationDuration(0),
|
| m_animating(false),
|
| - m_animationTimer(this, &LayoutProgress::animationTimerFired) {}
|
| + m_animationTimer(
|
| + TaskRunnerHelper::get(TaskType::UnspecedTimer, &element->document()),
|
| + this,
|
| + &LayoutProgress::animationTimerFired) {}
|
|
|
| LayoutProgress::~LayoutProgress() {}
|
|
|
|
|