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

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

Issue 1547143002: Thread up two new V8 UseCounters for ES2015 RegExp compat (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« 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 5d2320f0dd79ab44dc8ef79436aa7ac61e4a7b79..50e98e4a7ca93b76a6b06286d1dc1c4fb076e520 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
@@ -78,6 +78,12 @@ static void useCounterCallback(v8::Isolate* isolate, v8::Isolate::UseCounterFeat
case v8::Isolate::kStrongMode:
blinkFeature = UseCounter::V8StrongMode;
break;
+ case v8::Isolate::kRegExpPrototypeStickyGetter:
+ blinkFeature = UseCounter::V8RegExpPrototypeStickyGetter;
+ break;
+ case v8::Isolate::kRegExpPrototypeToString:
+ blinkFeature = UseCounter::V8RegExpPrototypeToString;
+ 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