Index: Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp |
index 024119b7d05de2a134501d154af9c7d6e90e95ef..4a5049f37c4b7bee9dc81abe86c63974b4c02ea7 100644 |
--- a/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/Source/core/workers/WorkerGlobalScope.cpp |
@@ -342,7 +342,7 @@ void WorkerGlobalScope::countDeprecation(UseCounter::Feature feature) const |
{ |
// FIXME: How should we count features for shared/service workers? |
- ASSERT(isSharedWorkerGlobalScope() || isServiceWorkerGlobalScope()); |
+ ASSERT(isSharedWorkerGlobalScope() || isServiceWorkerGlobalScope() || isCompositorWorkerGlobalScope()); |
// For each deprecated feature, send console message at most once |
// per worker lifecycle. |
if (!m_deprecationWarningBits.hasRecordedMeasurement(feature)) { |