Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp

Issue 2625953002: Move LocalDomWindow unusedPreloadsTimer to TaskRunnerTimer (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {}
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698