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

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

Issue 2553173003: Move WebMediaPlayer to frame loading queue. (Closed)
Patch Set: 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 377d45d08e1b472976f4627f60a5a6de55a19878..2c77cfec7cc22d3380c3627280123d4a5f2f5391 100644
--- a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp
+++ b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp
@@ -32,6 +32,7 @@ WebTaskRunner* TaskRunnerHelper::get(TaskType type, LocalFrame* frame) {
return frame ? frame->frameScheduler()->timerTaskRunner()
: Platform::current()->currentThread()->getWebTaskRunner();
case TaskType::Networking:
+ case TaskType::Media:
return frame ? frame->frameScheduler()->loadingTaskRunner()
: Platform::current()->currentThread()->getWebTaskRunner();
case TaskType::Unthrottled:

Powered by Google App Engine
This is Rietveld 408576698