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 81eaca561bc09ff083e0fa0c9d6ac9cca6338d4d..a582d4489cbeebea5007b8040f55c7845b55d993 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h |
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h |
@@ -37,7 +37,6 @@ |
#include "core/fetch/CachedMetadataHandler.h" |
#include "core/frame/DOMTimerCoordinator.h" |
#include "core/frame/DOMWindowBase64.h" |
-#include "core/frame/UseCounter.h" |
#include "core/frame/csp/ContentSecurityPolicy.h" |
#include "core/workers/WorkerEventQueue.h" |
#include "core/workers/WorkerOrWorkletGlobalScope.h" |
@@ -71,9 +70,6 @@ class CORE_EXPORT WorkerGlobalScope : public EventTargetWithInlineData, |
~WorkerGlobalScope() override; |
- virtual void countFeature(UseCounter::Feature) const; |
- virtual void countDeprecation(UseCounter::Feature) const; |
- |
// Returns null if caching is not supported. |
virtual CachedMetadataHandler* createWorkerScriptCachedMetadataHandler( |
const KURL& scriptURL, |
@@ -86,6 +82,8 @@ class CORE_EXPORT WorkerGlobalScope : public EventTargetWithInlineData, |
// WorkerOrWorkletGlobalScope |
bool isClosing() const final { return m_closing; } |
virtual void dispose(); |
+ void countFeature(UseCounter::Feature) final; |
+ void countDeprecation(UseCounter::Feature) final; |
WorkerThread* thread() const final { return m_thread; } |
void exceptionUnhandled(int exceptionId); |
@@ -192,8 +190,6 @@ class CORE_EXPORT WorkerGlobalScope : public EventTargetWithInlineData, |
mutable Member<WorkerLocation> m_location; |
mutable Member<WorkerNavigator> m_navigator; |
- mutable BitVector m_deprecationWarningBits; |
- |
Member<WorkerOrWorkletScriptController> m_scriptController; |
WorkerThread* m_thread; |