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

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

Issue 2556993005: [blink] Split TaskType::Internal into InternalTimer and InternalLoading. (Closed)
Patch Set: One more fix Created 4 years 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 1fa26fd7f736f8fd4d630edea870d65b25d98572..2ae662c1f2ab7ca514752318bf46aad2d3ee68e0 100644
--- a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp
+++ b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp
@@ -32,10 +32,11 @@ WebTaskRunner* TaskRunnerHelper::get(TaskType type, LocalFrame* frame) {
case TaskType::Presentation:
case TaskType::Sensor:
case TaskType::Timer:
- case TaskType::Internal:
+ case TaskType::UnspecedTimer:
case TaskType::Unspecified:
return frame ? frame->frameScheduler()->timerTaskRunner()
: Platform::current()->currentThread()->getWebTaskRunner();
+ case TaskType::UnspecedLoading:
case TaskType::Networking:
return frame ? frame->frameScheduler()->loadingTaskRunner()
: Platform::current()->currentThread()->getWebTaskRunner();
« no previous file with comments | « third_party/WebKit/Source/core/dom/TaskRunnerHelper.h ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698