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

Unified Diff: third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp

Issue 2754673002: [scheduler] Split suspendable tq from unthrottled tq. (Closed)
Patch Set: Created 3 years, 9 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/dom/TaskRunnerHelper.cpp
diff --git a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp
index 8e5d0af5b9246e96d0dfae688dd9a52f04365dc5..6a953b204915daf6edc2b3af11cf08c87048bcbe 100644
--- a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp
+++ b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp
@@ -48,7 +48,7 @@ RefPtr<WebTaskRunner> TaskRunnerHelper::get(TaskType type, LocalFrame* frame) {
case TaskType::UnspecedTimer:
case TaskType::MiscPlatformAPI:
case TaskType::Unthrottled:
Sami 2017/03/15 15:01:50 Can you leave a TODO here for making Unthrottled a
altimin 2017/03/15 15:10:14 I think that we're fine here. We have a todo to re
- return frame ? frame->frameScheduler()->unthrottledTaskRunner()
+ return frame ? frame->frameScheduler()->suspendableTaskRunner()
: Platform::current()->currentThread()->getWebTaskRunner();
}
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698