Index: third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp |
diff --git a/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp b/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp |
index 7f74489532c5c360c669c9a98d364bf3ea5c7848..371c153f255510d32e4a342caef1e0d9d3f98b89 100644 |
--- a/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp |
+++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp |
@@ -56,11 +56,16 @@ DedicatedWorkerThread::~DedicatedWorkerThread() |
{ |
} |
-WorkerGlobalScope* DedicatedWorkerThread::createWorkerGlobalScope(std::unique_ptr<WorkerThreadStartupData> startupData) |
+WorkerOrWorkletGlobalScope* DedicatedWorkerThread::createWorkerGlobalScope(std::unique_ptr<WorkerThreadStartupData> startupData) |
{ |
return DedicatedWorkerGlobalScope::create(this, std::move(startupData), m_timeOrigin); |
} |
+ConsoleMessageStorage* DedicatedWorkerThread::consoleMessageStorage() |
+{ |
+ return toWorkerGlobalScope(globalScope())->consoleMessageStorage(); |
+} |
+ |
void DedicatedWorkerThread::postInitialize() |
{ |
// Notify the parent object of our current active state before the event |