Index: Source/core/workers/WorkerThread.h |
diff --git a/Source/core/workers/WorkerThread.h b/Source/core/workers/WorkerThread.h |
index 561a9b5076b34a7caf63cd4ce64af2f9ceba99dc..be8e98c6da3c09f6f0f034c672f93c6a7cf9ca4c 100644 |
--- a/Source/core/workers/WorkerThread.h |
+++ b/Source/core/workers/WorkerThread.h |
@@ -70,6 +70,7 @@ namespace blink { |
MessageQueueWaitResult runDebuggerTask(WorkerRunLoop::WaitMode = WorkerRunLoop::WaitForMessage); |
bool terminated() { return m_runLoop.terminated(); } |
+ WorkerGlobalScope* workerGlobalScope() { return m_workerGlobalScope.get(); } |
// Number of active worker threads. |
static unsigned workerThreadCount(); |
@@ -83,7 +84,6 @@ namespace blink { |
// Executes the event loop for the worker thread. Derived classes can override to perform actions before/after entering the event loop. |
virtual void runEventLoop(); |
- WorkerGlobalScope* workerGlobalScope() { return m_workerGlobalScope.get(); } |
private: |
// Static function executed as the core routine on the new thread. Passed a pointer to a WorkerThread object. |