| Index: third_party/WebKit/Source/core/frame/Deprecation.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
|
| index 43d8097e4718c27263903e5d059ef8e55d511684..3369b6a7ed3c0813580b52962b9ed228f3104b37 100644
|
| --- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
|
| @@ -10,7 +10,7 @@
|
| #include "core/frame/FrameHost.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/inspector/ConsoleMessage.h"
|
| -#include "core/workers/WorkerGlobalScope.h"
|
| +#include "core/workers/WorkerOrWorkletGlobalScope.h"
|
|
|
| namespace {
|
|
|
| @@ -148,8 +148,8 @@ void Deprecation::countDeprecation(ExecutionContext* context,
|
| Deprecation::countDeprecation(*toDocument(context), feature);
|
| return;
|
| }
|
| - if (context->isWorkerGlobalScope())
|
| - toWorkerGlobalScope(context)->countDeprecation(feature);
|
| + if (context->isWorkerOrWorkletGlobalScope())
|
| + toWorkerOrWorkletGlobalScope(context)->countDeprecation(feature);
|
| }
|
|
|
| void Deprecation::countDeprecation(const Document& document,
|
|
|