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 db1a341829ed120a63323b29bc11389ca8c3cfc6..7b2d4b1dd7ef50e8592635e4d09d75aa2255354b 100644 |
--- a/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp |
+++ b/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp |
@@ -12,6 +12,7 @@ |
#include "core/testing/DummyPageHolder.h" |
#include "core/workers/WorkerLoaderProxy.h" |
#include "core/workers/WorkerReportingProxy.h" |
+#include "core/workers/WorkerTaskRunners.h" |
#include "core/workers/WorkerThreadTestHelper.h" |
#include "platform/WaitableEvent.h" |
#include "platform/geometry/IntSize.h" |
@@ -332,7 +333,9 @@ class WorkerThreadableLoaderTestHelper : public ThreadableLoaderTestHelper, |
const WebTraceLocation& location, |
std::unique_ptr<WTF::CrossThreadClosure> task) override { |
DCHECK(worker_thread_); |
- worker_thread_->PostTask(location, std::move(task)); |
+ worker_thread_->GetWorkerTaskRunners() |
+ ->Get(TaskType::kNetworking) |
+ ->PostTask(location, std::move(task)); |
} |
ThreadableLoadingContext* GetThreadableLoadingContext() override { |