Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp |
index 831291fd0025ec57f5abfb3e3b19044823fd4283..07d58e52d33cdf53f60b713bd1e831ddc9ec66da 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp |
@@ -53,9 +53,14 @@ ServiceWorkerThread::~ServiceWorkerThread() |
{ |
} |
-WorkerGlobalScope* ServiceWorkerThread::createWorkerGlobalScope(std::unique_ptr<WorkerThreadStartupData> startupData) |
+WorkerOrWorkletGlobalScope* ServiceWorkerThread::createWorkerGlobalScope(std::unique_ptr<WorkerThreadStartupData> startupData) |
{ |
return ServiceWorkerGlobalScope::create(this, std::move(startupData)); |
} |
+ConsoleMessageStorage* ServiceWorkerThread::consoleMessageStorage() |
+{ |
+ return toWorkerGlobalScope(globalScope())->consoleMessageStorage(); |
+} |
+ |
} // namespace blink |