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 976a6f63c8ae602c39ba3769f9bc779c8ac6406f..483b20d5ed6f419fa04435a6d3172adf5f0bac61 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
@@ -274,7 +274,10 @@ bool LocalDOMWindow::allowPopUp() { |
LocalDOMWindow::LocalDOMWindow(LocalFrame& frame) |
: m_frame(&frame), |
m_visualViewport(DOMVisualViewport::create(this)), |
- m_unusedPreloadsTimer(this, &LocalDOMWindow::warnUnusedPreloads), |
+ m_unusedPreloadsTimer( |
+ TaskRunnerHelper::get(TaskType::UnspecedTimer, &frame), |
+ this, |
+ &LocalDOMWindow::warnUnusedPreloads), |
m_shouldPrintWhenFinishedLoading(false), |
m_customElements(this, nullptr) {} |