Index: third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.cpp |
diff --git a/third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.cpp b/third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.cpp |
index acd9721c296885ae406922112c574ce35eb646c7..f3a1a74a24d20b65beab94b6bc28b87524220f77 100644 |
--- a/third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.cpp |
+++ b/third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.cpp |
@@ -30,16 +30,16 @@ ThreadedWorkletGlobalScope::~ThreadedWorkletGlobalScope() { |
DCHECK(!thread_); |
} |
-void ThreadedWorkletGlobalScope::CountFeature(UseCounter::Feature feature) { |
+void ThreadedWorkletGlobalScope::ReportFeature(UseCounter::Feature feature) { |
DCHECK(IsContextThread()); |
DCHECK(thread_); |
thread_->GetWorkerReportingProxy().CountFeature(feature); |
} |
-void ThreadedWorkletGlobalScope::CountDeprecation(UseCounter::Feature feature) { |
+void ThreadedWorkletGlobalScope::ReportDeprecation( |
+ UseCounter::Feature feature) { |
DCHECK(IsContextThread()); |
DCHECK(thread_); |
- AddDeprecationMessage(feature); |
thread_->GetWorkerReportingProxy().CountDeprecation(feature); |
} |