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

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

Issue 2626003002: Hook up new V8 use counters (Closed)
Patch Set: rebase Created 3 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 a5d8814c681efc2570fa75ffa2984d286376de37..36bdec1839d60e3e065a7e0f18e12c74babca12a 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
@@ -195,6 +195,15 @@ void V8PerIsolateData::useCounterCallback(
case v8::Isolate::kFunctionConstructorReturnedUndefined:
blinkFeature = UseCounter::V8FunctionConstructorReturnedUndefined;
break;
+ case v8::Isolate::kAssigmentExpressionLHSIsCallInSloppy:
+ blinkFeature = UseCounter::V8AssigmentExpressionLHSIsCallInSloppy;
+ break;
+ case v8::Isolate::kAssigmentExpressionLHSIsCallInStrict:
+ blinkFeature = UseCounter::V8AssigmentExpressionLHSIsCallInStrict;
+ break;
+ case v8::Isolate::kPromiseConstructorReturnedUndefined:
+ blinkFeature = UseCounter::V8PromiseConstructorReturnedUndefined;
+ 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