| Index: Source/core/frame/UseCounter.h
|
| diff --git a/Source/core/frame/UseCounter.h b/Source/core/frame/UseCounter.h
|
| index d24753fa4d53b2b9c947732c11be03021f26fbcb..b5d92329bf9b5447ee7e4e7aeea45f1532939c87 100644
|
| --- a/Source/core/frame/UseCounter.h
|
| +++ b/Source/core/frame/UseCounter.h
|
| @@ -654,8 +654,8 @@ public:
|
| // deprecation warnings when we're actively interested in removing them from
|
| // the platform.
|
| //
|
| - // The ExecutionContext* overload doesn't work for shared workers and
|
| - // service workers.
|
| + // For shared workers and service workers, the ExecutionContext* overload
|
| + // doesn't count the usage but only sends a console warning.
|
| static void countDeprecation(const LocalFrame*, Feature);
|
| static void countDeprecation(ExecutionContext*, Feature);
|
| static void countDeprecation(const Document&, Feature);
|
| @@ -663,7 +663,7 @@ public:
|
| // if you don't want to count metrics in private scripts. You should use
|
| // countDeprecationIfNotPrivateScript() in a binding layer.
|
| static void countDeprecationIfNotPrivateScript(v8::Isolate*, ExecutionContext*, Feature);
|
| - String deprecationMessage(Feature);
|
| + static String deprecationMessage(Feature);
|
|
|
| void didCommitLoad();
|
|
|
|
|