Index: third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp |
diff --git a/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp b/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp |
index 2b7b851f2a484106ee847a1765118fa56b1af054..3f6fc6763b5d0bf0d53103532d2fd5d3e656e73c 100644 |
--- a/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp |
+++ b/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp |
@@ -54,9 +54,14 @@ SharedWorkerThread::~SharedWorkerThread() |
{ |
} |
-WorkerGlobalScope* SharedWorkerThread::createWorkerGlobalScope(std::unique_ptr<WorkerThreadStartupData> startupData) |
+WorkerOrWorkletGlobalScope* SharedWorkerThread::createWorkerGlobalScope(std::unique_ptr<WorkerThreadStartupData> startupData) |
{ |
return SharedWorkerGlobalScope::create(m_name, this, std::move(startupData)); |
} |
+ConsoleMessageStorage* SharedWorkerThread::consoleMessageStorage() |
+{ |
+ return toWorkerGlobalScope(globalScope())->consoleMessageStorage(); |
+} |
+ |
} // namespace blink |