| Index: Source/core/workers/WorkerGlobalScope.cpp
|
| diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp
|
| index 48280c3525443f8add1f77792d20956b4acefca2..b10904897dabda8d9a3bab74d1b937303681f2f3 100644
|
| --- a/Source/core/workers/WorkerGlobalScope.cpp
|
| +++ b/Source/core/workers/WorkerGlobalScope.cpp
|
| @@ -340,7 +340,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)) {
|
|
|