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 6a16bd65abd80b8516e48981e63ba8bc0fbb0567..1ac98c9fbccec165bb11b4260f2f8a2a414e3cee 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -485,7 +485,7 @@ Document::Document(const DocumentInit& initializer, |
TaskRunnerHelper::get(TaskType::Internal, 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), |
@@ -2488,11 +2488,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(); |