Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.h |
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h |
index 60ed51ebff555fda5a0f437fe6663f53bec0594b..ec2c76f9e66c4e0df80affad5ea26fdd45b5c294 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h |
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h |
@@ -82,7 +82,12 @@ class CORE_EXPORT WorkerGlobalScope : public EventTargetWithInlineData, |
} |
KURL completeURL(const String&) const; |
+ |
+ // WorkerOrWorkletGlobalScope |
+ bool isClosing() const final { return m_closing; } |
virtual void dispose(); |
+ WorkerThread* thread() const final { return m_thread; } |
+ |
void exceptionUnhandled(int exceptionId); |
void registerEventListener(V8AbstractEventListener*); |
@@ -140,9 +145,6 @@ class CORE_EXPORT WorkerGlobalScope : public EventTargetWithInlineData, |
return const_cast<WorkerGlobalScope*>(this); |
} |
- bool isClosing() const final { return m_closing; } |
- |
- WorkerThread* thread() const { return m_thread; } |
double timeOrigin() const { return m_timeOrigin; } |
WorkerSettings* workerSettings() const { return m_workerSettings.get(); } |