Index: third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp |
diff --git a/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp b/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp |
index 0e6ea30ea2770a368a812d5832cea7e7ecbc9340..daaefd86401e725b90794ff5740b42da68f2a005 100644 |
--- a/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp |
+++ b/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp |
@@ -26,19 +26,18 @@ MainThreadWorkletGlobalScope::MainThreadWorkletGlobalScope( |
MainThreadWorkletGlobalScope::~MainThreadWorkletGlobalScope() {} |
-void MainThreadWorkletGlobalScope::CountFeature(UseCounter::Feature feature) { |
+void MainThreadWorkletGlobalScope::ReportFeature(UseCounter::Feature feature) { |
DCHECK(IsMainThread()); |
// A parent document is on the same thread, so just record API use in the |
// document's UseCounter. |
UseCounter::Count(GetFrame(), feature); |
} |
-void MainThreadWorkletGlobalScope::CountDeprecation( |
+void MainThreadWorkletGlobalScope::ReportDeprecation( |
UseCounter::Feature feature) { |
DCHECK(IsMainThread()); |
// A parent document is on the same thread, so just record API use in the |
// document's UseCounter. |
- AddDeprecationMessage(feature); |
Deprecation::CountDeprecation(GetFrame(), feature); |
} |