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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h

Issue 2709193002: WorkerLoaderProxy: stop accessing cross-thread execution context (Closed)
Patch Set: . Created 3 years, 10 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/WorkerThreadTestHelper.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h b/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
index 380e62669e7644331c0dc3f009699503bfd5cc60..a5f69a82d30b0c39ad55773db78df61eaec7ccf6 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
@@ -41,7 +41,7 @@ class MockWorkerLoaderProxyProvider : public WorkerLoaderProxyProvider {
~MockWorkerLoaderProxyProvider() override {}
void postTaskToLoader(const WebTraceLocation&,
- std::unique_ptr<ExecutionContextTask>) override {
+ std::unique_ptr<WTF::CrossThreadClosure>) override {
NOTIMPLEMENTED();
}
@@ -50,6 +50,11 @@ class MockWorkerLoaderProxyProvider : public WorkerLoaderProxyProvider {
std::unique_ptr<WTF::CrossThreadClosure>) override {
NOTIMPLEMENTED();
}
+
+ ExecutionContext* getLoaderExecutionContext() override {
+ NOTIMPLEMENTED();
+ return nullptr;
+ }
};
class MockWorkerReportingProxy : public WorkerReportingProxy {

Powered by Google App Engine
This is Rietveld 408576698