| Index: third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp b/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp
|
| index 761007e15498eab930c7b03ae9125e52d5a583a9..31ef92a24fb32b2f0cf65c374de2cd4f1d4aa10e 100644
|
| --- a/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "bindings/core/v8/SourceLocation.h"
|
| #include "core/dom/Document.h"
|
| +#include "core/frame/Deprecation.h"
|
| #include "core/loader/DocumentLoader.h"
|
| #include "core/workers/ParentFrameTaskRunners.h"
|
| #include "core/workers/WorkerInspectorProxy.h"
|
| @@ -78,6 +79,16 @@ void ThreadedMessagingProxyBase::postTaskToLoader(
|
| getExecutionContext()->postTask(location, std::move(task));
|
| }
|
|
|
| +void ThreadedMessagingProxyBase::countFeature(UseCounter::Feature feature) {
|
| + DCHECK(isParentContextThread());
|
| + UseCounter::count(m_executionContext, feature);
|
| +}
|
| +
|
| +void ThreadedMessagingProxyBase::countDeprecation(UseCounter::Feature feature) {
|
| + DCHECK(isParentContextThread());
|
| + Deprecation::countDeprecation(m_executionContext, feature);
|
| +}
|
| +
|
| void ThreadedMessagingProxyBase::reportConsoleMessage(
|
| MessageSource source,
|
| MessageLevel level,
|
|
|