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

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

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/WorkerOrWorkletGlobalScope.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h
index 6a91b68eba8aa252d044e7225238c53526c93423..ad2494267420572c21ea99847b0bcd235aa366d2 100644
--- a/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h
@@ -21,6 +21,10 @@ class CORE_EXPORT WorkerOrWorkletGlobalScope : public ExecutionContext {
// ExecutionContext
bool isWorkerOrWorkletGlobalScope() const final { return true; }
+ void postTask(TaskType,
+ const WebTraceLocation&,
+ std::unique_ptr<ExecutionContextTask>,
+ const String& taskNameForInstrumentation = emptyString()) final;
virtual ScriptWrappable* getScriptWrappable() const = 0;
virtual WorkerOrWorkletScriptController* scriptController() = 0;

Powered by Google App Engine
This is Rietveld 408576698