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

Unified Diff: third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp

Issue 2831843002: Revert of Worker: Introduce per-global-scope task scheduler (Closed)
Patch Set: Created 3 years, 8 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/workers/ThreadedMessagingProxyBase.cpp
diff --git a/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp b/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp
index fb8241d658cd6ec4575a5d97ec98614c00a79e22..5fc25ba79a6b3b5f87cc3162b0e86836b95a8979 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp
+++ b/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp
@@ -6,7 +6,6 @@
#include "bindings/core/v8/SourceLocation.h"
#include "core/dom/Document.h"
-#include "core/dom/TaskRunnerHelper.h"
#include "core/frame/Deprecation.h"
#include "core/loader/DocumentLoader.h"
#include "core/loader/ThreadableLoadingContext.h"
@@ -74,8 +73,7 @@
return;
DCHECK(worker_thread_);
- TaskRunnerHelper::Get(TaskType::kNetworking, worker_thread_.get())
- ->PostTask(location, std::move(task));
+ worker_thread_->PostTask(location, std::move(task));
}
void ThreadedMessagingProxyBase::PostTaskToLoader(

Powered by Google App Engine
This is Rietveld 408576698