| Index: Source/core/workers/WorkerGlobalScope.cpp
|
| diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp
|
| index b5f7ab037845b85a8c014c9286135232a85d4b00..667fb9e0a29776fc35bcf20ce98c14236c88eff0 100644
|
| --- a/Source/core/workers/WorkerGlobalScope.cpp
|
| +++ b/Source/core/workers/WorkerGlobalScope.cpp
|
| @@ -322,7 +322,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)) {
|
|
|