Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
index 323a8bc407f259bb681747a85729715a013034e7..652db6308f69ee7c7ef47fa086dec0d505cdf9c0 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
@@ -149,7 +149,10 @@ |
SuspendableTimer::trace(visitor); |
} |
- // TODO(alexclarke): Override timerTaskRunner() to pass in a document specific default task runner. |
+ WebTaskRunner* timerTaskRunner() override |
+ { |
+ return m_window->document()->timerTaskRunner(); |
+ } |
private: |
void fired() override |