| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index f42226205775d7df98216f125d44c20a63f005cc..88aa46f43b773490e429cccde1d5e6dffe429eeb 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -487,7 +487,7 @@ Document::Document(const DocumentInit& initializer,
|
| TaskRunnerHelper::get(TaskType::UnspecedLoading, this),
|
| this,
|
| &Document::didAssociateFormControlsTimerFired),
|
| - m_timers(TaskRunnerHelper::get(TaskType::Timer, this)->clone()),
|
| + m_timers(TaskRunnerHelper::get(TaskType::Timer, this)),
|
| m_hasViewportUnits(false),
|
| m_parserSyncPolicy(AllowAsynchronousParsing),
|
| m_nodeCount(0),
|
| @@ -2501,11 +2501,8 @@ void Document::shutdown() {
|
| clearImportsController();
|
| }
|
|
|
| - m_timers.setTimerTaskRunner(Platform::current()
|
| - ->currentThread()
|
| - ->scheduler()
|
| - ->timerTaskRunner()
|
| - ->clone());
|
| + m_timers.setTimerTaskRunner(
|
| + Platform::current()->currentThread()->scheduler()->timerTaskRunner());
|
|
|
| if (m_mediaQueryMatcher)
|
| m_mediaQueryMatcher->documentDetached();
|
|
|