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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThread.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/WorkerThread.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.h b/third_party/WebKit/Source/core/workers/WorkerThread.h
index 89702deb47934baf320d1c91768df1258f79bea7..d3af4f3ac85540a7c3938ee202f0001beee50472 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -136,7 +136,12 @@ class CORE_EXPORT WorkerThread : public WebThread::TaskObserver {
return m_workerReportingProxy;
}
+ // DEPRECATED: Use postTask() for WTF::CrossThreadClosure instead.
+ // TODO(nhiroki): Remove this after https://crbug.com/625927 is completed.
void postTask(const WebTraceLocation&, std::unique_ptr<ExecutionContextTask>);
+
+ void postTask(const WebTraceLocation&,
+ std::unique_ptr<WTF::CrossThreadClosure>);
void appendDebuggerTask(std::unique_ptr<CrossThreadClosure>);
// Runs only debugger tasks while paused in debugger.
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerLoaderProxy.cpp ('k') | third_party/WebKit/Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698