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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp

Issue 1578143002: Thread up UseCounters for a few new metrics from V8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase (and propagate extra counters to histograms.xml) Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
index 14bf780860db7ed8ce7568b4af3946974d72b54e..d343b39aca3de9eaa32e330b155d4a55da52abfa 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
@@ -86,6 +86,27 @@ static void useCounterCallback(v8::Isolate* isolate, v8::Isolate::UseCounterFeat
case v8::Isolate::kRegExpPrototypeToString:
blinkFeature = UseCounter::V8RegExpPrototypeToString;
break;
+ case v8::Isolate::kRegExpPrototypeUnicodeGetter:
+ blinkFeature = UseCounter::V8RegExpPrototypeUnicodeGetter;
+ break;
+ case v8::Isolate::kIntlV8Parse:
+ blinkFeature = UseCounter::V8IntlV8Parse;
+ break;
+ case v8::Isolate::kIntlPattern:
+ blinkFeature = UseCounter::V8IntlPattern;
+ break;
+ case v8::Isolate::kIntlResolved:
+ blinkFeature = UseCounter::V8IntlResolved;
+ break;
+ case v8::Isolate::kPromiseChain:
+ blinkFeature = UseCounter::V8PromiseChain;
+ break;
+ case v8::Isolate::kPromiseAccept:
+ blinkFeature = UseCounter::V8PromiseAccept;
+ break;
+ case v8::Isolate::kPromiseDefer:
+ blinkFeature = UseCounter::V8PromiseDefer;
+ break;
default:
// This can happen if V8 has added counters that this version of Blink
// does not know about. It's harmless.
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698