Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(747)

Unified Diff: third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.h

Issue 2857583003: Worker: Avoid sending IPC messages for features already counted (Closed)
Patch Set: wip Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.h
diff --git a/third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.h b/third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.h
index 5b8795c4341e0443882c566ecb5407952fb13040..81ae12b68112f4bee6878ae48b980c6997590a6e 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.h
@@ -16,8 +16,8 @@ class CORE_EXPORT ThreadedWorkletGlobalScope : public WorkletGlobalScope {
public:
~ThreadedWorkletGlobalScope() override;
void Dispose() override;
- void CountFeature(UseCounter::Feature) final;
- void CountDeprecation(UseCounter::Feature) final;
+ void ReportFeature(UseCounter::Feature) override;
+ void ReportDeprecation(UseCounter::Feature) override;
// ExecutionContext
bool IsThreadedWorkletGlobalScope() const final { return true; }

Powered by Google App Engine
This is Rietveld 408576698