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

Unified Diff: third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.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/MainThreadWorkletGlobalScope.h
diff --git a/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.h b/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.h
index f40405b7b035ea5d25b15debc54b6e64f78cd870..1fe4a0605cdd49f752c4ff93df00391bb1a6b1d1 100644
--- a/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.h
@@ -34,8 +34,8 @@ class CORE_EXPORT MainThreadWorkletGlobalScope
bool IsMainThreadWorkletGlobalScope() const final { return true; }
// WorkerOrWorkletGlobalScope
- void CountFeature(UseCounter::Feature) final;
- void CountDeprecation(UseCounter::Feature) final;
+ void ReportFeature(UseCounter::Feature) override;
+ void ReportDeprecation(UseCounter::Feature) override;
WorkerThread* GetThread() const final;
void FetchAndInvokeScript(const KURL& module_url_record,

Powered by Google App Engine
This is Rietveld 408576698