| Index: third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h
|
| index 62698815785163392f69ae8750acf06d941b7f36..97def8b18e24aa6db7f3c5dfdce2b6b8df0351a7 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h
|
| @@ -42,11 +42,19 @@ class CORE_EXPORT WorkerOrWorkletGlobalScope : public ExecutionContext {
|
| virtual void Dispose();
|
|
|
| // Called from UseCounter to record API use in this execution context.
|
| + // TODO(lunalu): Deprecate UseCounter::Feature by WebFeature.
|
| void CountFeature(UseCounter::Feature);
|
| + void CountFeature(WebFeature feature) {
|
| + return CountFeature(static_cast<UseCounter::Feature>(feature));
|
| + }
|
|
|
| // Called from UseCounter to record deprecated API use in this execution
|
| // context.
|
| + // TODO(lunalu): Deprecate UseCounter::Feature by WebFeature.
|
| void CountDeprecation(UseCounter::Feature);
|
| + void CountDeprecation(WebFeature feature) {
|
| + return CountDeprecation(static_cast<UseCounter::Feature>(feature));
|
| + }
|
|
|
| // May return nullptr if this global scope is not threaded (i.e.,
|
| // MainThreadWorkletGlobalScope) or after dispose() is called.
|
|
|