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

Unified Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 2535093003: Worker: Connect UseCounter to workers and worklets (Closed)
Patch Set: remove 'const' qualifiers Created 4 years 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/frame/UseCounter.h
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.h b/third_party/WebKit/Source/core/frame/UseCounter.h
index 478b7af5192b0c32cac64a508a687d54ca8421de..56954cd4c06ac998c3218d05671a9a25631119d7 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.h
+++ b/third_party/WebKit/Source/core/frame/UseCounter.h
@@ -1395,17 +1395,13 @@ class CORE_EXPORT UseCounter {
// "count" sets the bit for this feature to 1. Repeated calls are ignored.
static void count(const Frame*, Feature);
static void count(const Document&, Feature);
- // This doesn't count for ExecutionContexts for shared workers and service
- // workers.
- static void count(const ExecutionContext*, Feature);
+ static void count(ExecutionContext*, Feature);
// Use countIfNotPrivateScript() instead of count() if you don't want
// to count metrics in private scripts. You should use
// countIfNotPrivateScript() in a binding layer.
static void countIfNotPrivateScript(v8::Isolate*, const Frame*, Feature);
static void countIfNotPrivateScript(v8::Isolate*, const Document&, Feature);
- static void countIfNotPrivateScript(v8::Isolate*,
- const ExecutionContext*,
- Feature);
+ static void countIfNotPrivateScript(v8::Isolate*, ExecutionContext*, Feature);
void count(CSSParserMode, CSSPropertyID);
void count(Feature);

Powered by Google App Engine
This is Rietveld 408576698