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

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

Issue 2116113002: [worklets] Make WorkerThread handle both Worker and Worklet global scopes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 5 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/InProcessWorkerObjectProxy.h
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
index ed8386c6f2cb81b68d4e74de277224c755af9ec6..d22ec94aade9a6cb55b342b8037cf01d131a6421 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
@@ -44,6 +44,7 @@ class ConsoleMessage;
class ExecutionContext;
class ExecutionContextTask;
class InProcessWorkerMessagingProxy;
+class WorkerOrWorkletGlobalScope;
// A proxy to talk to the worker object. This object is created on the
// parent context thread (i.e. usually the main thread), passed on to
@@ -68,7 +69,7 @@ public:
void reportConsoleMessage(ConsoleMessage*) override;
void postMessageToPageInspector(const String&) override;
void didEvaluateWorkerScript(bool success) override { }
- void workerGlobalScopeStarted(WorkerGlobalScope*) override { }
+ void workerGlobalScopeStarted(WorkerOrWorkletGlobalScope*) override { }
void workerGlobalScopeClosed() override;
void workerThreadTerminated() override;
void willDestroyWorkerGlobalScope() override { }

Powered by Google App Engine
This is Rietveld 408576698