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

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

Issue 2645613006: Worker: Stop using ExecutionContextTask on WorkerLoaderProxy::postTaskToWorkerGlobalScope (Closed)
Patch Set: address review comments Created 3 years, 11 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/WorkerLoaderProxy.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h b/third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h
index e31d7bc5d45883dfb8a91c8ade1c51097aa9e539..5951d8b3ac153689a3d84c96e9f2e7041965d52f 100644
--- a/third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h
+++ b/third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h
@@ -69,7 +69,7 @@ class CORE_EXPORT WorkerLoaderProxyProvider {
// Posts callbacks from loading code to the WorkerGlobalScope.
virtual void postTaskToWorkerGlobalScope(
const WebTraceLocation&,
- std::unique_ptr<ExecutionContextTask>) = 0;
+ std::unique_ptr<WTF::CrossThreadClosure>) = 0;
};
class CORE_EXPORT WorkerLoaderProxy final
@@ -85,7 +85,7 @@ class CORE_EXPORT WorkerLoaderProxy final
void postTaskToLoader(const WebTraceLocation&,
std::unique_ptr<ExecutionContextTask>);
void postTaskToWorkerGlobalScope(const WebTraceLocation&,
- std::unique_ptr<ExecutionContextTask>);
+ std::unique_ptr<WTF::CrossThreadClosure>);
// Notification from the provider that it can no longer be accessed. An
// implementation of WorkerLoaderProxyProvider is required to call

Powered by Google App Engine
This is Rietveld 408576698