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

Unified Diff: third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.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/ThreadedWorkletGlobalScope.cpp
diff --git a/third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.cpp b/third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.cpp
index 64fb9cbf260e535d29a01b770d1142167e47989a..52991b5f04f6f23101c6faa97afd99a4ea844102 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.cpp
+++ b/third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.cpp
@@ -53,15 +53,6 @@ bool ThreadedWorkletGlobalScope::isContextThread() const {
return thread()->isCurrentThread();
}
-void ThreadedWorkletGlobalScope::postTask(
- TaskType,
- const WebTraceLocation& location,
- std::unique_ptr<ExecutionContextTask> task,
- const String& taskNameForInstrumentation) {
- thread()->postTask(location, std::move(task),
- !taskNameForInstrumentation.isEmpty());
-}
-
void ThreadedWorkletGlobalScope::addConsoleMessage(
ConsoleMessage* consoleMessage) {
DCHECK(isContextThread());

Powered by Google App Engine
This is Rietveld 408576698