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

Unified Diff: third_party/WebKit/Source/core/loader/ThreadableLoaderTest.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/loader/ThreadableLoaderTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp b/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
index 614317a6315df8bad0fd97c92342850651fbb8ff..db1a341829ed120a63323b29bc11389ca8c3cfc6 100644
--- a/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
+++ b/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
@@ -5,7 +5,6 @@
#include "core/loader/ThreadableLoader.h"
#include <memory>
-#include "core/dom/TaskRunnerHelper.h"
#include "core/loader/DocumentThreadableLoader.h"
#include "core/loader/ThreadableLoaderClient.h"
#include "core/loader/ThreadableLoadingContext.h"
@@ -333,8 +332,7 @@
const WebTraceLocation& location,
std::unique_ptr<WTF::CrossThreadClosure> task) override {
DCHECK(worker_thread_);
- TaskRunnerHelper::Get(TaskType::kNetworking, worker_thread_.get())
- ->PostTask(location, std::move(task));
+ worker_thread_->PostTask(location, std::move(task));
}
ThreadableLoadingContext* GetThreadableLoadingContext() override {

Powered by Google App Engine
This is Rietveld 408576698