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

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

Issue 2163543003: Hook up new V8 use counters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 cff16404ee2db8941bdf9da599ec8cff1c8dd7a7..2a9a212285aa19436796dd0337765409d85a31d7 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
@@ -191,6 +191,12 @@ void V8PerIsolateData::useCounterCallback(v8::Isolate* isolate, v8::Isolate::Use
case v8::Isolate::kLegacyDateParser:
blinkFeature = UseCounter::V8LegacyDateParser;
break;
+ case v8::Isolate::kDefineGetterOrSetterWouldThrow:
+ blinkFeature = UseCounter::V8DefineGetterOrSetterWouldThrow;
+ break;
+ case v8::Isolate::kFunctionConstructorReturnedUndefined:
+ blinkFeature = UseCounter::V8FunctionConstructorReturnedUndefined;
+ 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