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

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

Issue 2856773003: Remove deprecated ExecutionContextTask (Closed)
Patch Set: restore private / rebase Created 3 years, 6 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 b29ff476142b0496bafc10c01d399d2915763394..63686cdf1e6f126758f4c38a6aa61b3a8d7827a3 100644
--- a/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h
@@ -25,11 +25,6 @@ class CORE_EXPORT WorkerOrWorkletGlobalScope : public ExecutionContext {
bool IsWorkerOrWorkletGlobalScope() const final { return true; }
bool IsJSExecutionForbidden() const final;
void DisableEval(const String& error_message) final;
- void PostTask(
- TaskType,
- const WebTraceLocation&,
- std::unique_ptr<ExecutionContextTask>,
- const String& task_name_for_instrumentation = g_empty_string) final;
bool CanExecuteScripts(ReasonForCallingCanExecuteScripts) final;
virtual ScriptWrappable* GetScriptWrappable() const = 0;
@@ -71,8 +66,6 @@ class CORE_EXPORT WorkerOrWorkletGlobalScope : public ExecutionContext {
virtual void ReportDeprecation(WebFeature) = 0;
private:
- void RunTask(std::unique_ptr<ExecutionContextTask>, bool is_instrumented);
-
CrossThreadPersistent<WorkerClients> worker_clients_;
Member<WorkerFetchContext> fetch_context_;
Member<WorkerOrWorkletScriptController> script_controller_;

Powered by Google App Engine
This is Rietveld 408576698