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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.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/WorkerGlobalScope.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
index e4a9bd8f9a361427431c15b6af2b487f579bdc73..03e28e2d5a449e04d305aa6bc85c57a52cfccafd 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
@@ -84,8 +84,8 @@ class CORE_EXPORT WorkerGlobalScope
// WorkerOrWorkletGlobalScope
bool IsClosing() const final { return closing_; }
virtual void Dispose();
- void CountFeature(UseCounter::Feature) final;
- void CountDeprecation(UseCounter::Feature) final;
+ void ReportFeature(UseCounter::Feature) final;
+ void ReportDeprecation(UseCounter::Feature) final;
WorkerThread* GetThread() const final { return thread_; }
void ExceptionUnhandled(int exception_id);

Powered by Google App Engine
This is Rietveld 408576698