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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp

Issue 2644833002: Worker: Consolidate postTask implementation (Closed)
Patch Set: 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/WorkerGlobalScope.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
index c7a2b0740a3bdb0a4e9d0e93551936f14a17a807..961478a9939ea1688ff87819685d3f3319831a56 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
@@ -262,14 +262,6 @@ void WorkerGlobalScope::disableEval(const String& errorMessage) {
m_scriptController->disableEval(errorMessage);
}
-void WorkerGlobalScope::postTask(TaskType,
- const WebTraceLocation& location,
- std::unique_ptr<ExecutionContextTask> task,
- const String& taskNameForInstrumentation) {
- thread()->postTask(location, std::move(task),
- !taskNameForInstrumentation.isEmpty());
-}
-
void WorkerGlobalScope::addConsoleMessage(ConsoleMessage* consoleMessage) {
DCHECK(isContextThread());
thread()->workerReportingProxy().reportConsoleMessage(

Powered by Google App Engine
This is Rietveld 408576698