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

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

Issue 2679083002: [Merge to M57] Scheduler: Enqueue non-JS-timer tasks into the unthrottled task runner (Closed)
Patch Set: Created 3 years, 10 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/dom/TaskRunnerHelper.cpp ('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 c5ca7957a0dd76264f230c575843ac312fac627c..38320032e7f7d051e74449ef4ad3d9e26bc2577d 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -104,7 +104,7 @@ class PostMessageTimer final
PassRefPtr<SecurityOrigin> targetOrigin,
std::unique_ptr<SourceLocation> location,
UserGestureToken* userGestureToken)
- : SuspendableTimer(window.document(), TaskType::Timer),
+ : SuspendableTimer(window.document(), TaskType::PostedMessage),
m_event(event),
m_window(&window),
m_targetOrigin(targetOrigin),
« no previous file with comments | « third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698