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

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

Issue 2658573011: scheduler: Make DOM window event tasks unthrottled (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
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 0973ebc02c37956d9b0348d6c97bed8a8ae39ccc..6ce08afca17154782ad4dd3006404778e82f4f11 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -100,7 +100,7 @@ class PostMessageTimer final
PassRefPtr<SecurityOrigin> targetOrigin,
std::unique_ptr<SourceLocation> location,
UserGestureToken* userGestureToken)
- : SuspendableTimer(window.document()),
+ : SuspendableTimer(window.document(), TaskType::Timer),
m_event(event),
m_window(&window),
m_targetOrigin(targetOrigin),
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMTimer.cpp ('k') | third_party/WebKit/Source/core/frame/SuspendableTimer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698