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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerReportingProxy.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/WorkerReportingProxy.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h b/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
index 5d1f77a2f4d4f317e456ea148410eeab865750ea..ce7dcf70f509731d86070a6d4719c37d434fcbfa 100644
--- a/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
+++ b/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
@@ -40,7 +40,7 @@ namespace blink {
class ConsoleMessage;
class SourceLocation;
-class WorkerGlobalScope;
+class WorkerOrWorkletGlobalScope;
// APIs used by workers to report console and worker activity.
class CORE_EXPORT WorkerReportingProxy {
@@ -59,7 +59,7 @@ public:
virtual void didInitializeWorkerContext() { }
// Invoked when the new WorkerGlobalScope is started.
- virtual void workerGlobalScopeStarted(WorkerGlobalScope*) = 0;
+ virtual void workerGlobalScopeStarted(WorkerOrWorkletGlobalScope*) = 0;
// Invoked when close() is invoked on the worker context.
virtual void workerGlobalScopeClosed() = 0;

Powered by Google App Engine
This is Rietveld 408576698