Index: third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp |
index 08fe5d3be5dea4306d6c5d4cb223d270ecd5974e..078c4e31bb422860b571f99ab138420f01b78a37 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp |
@@ -109,12 +109,16 @@ void setScriptableObjectProperty( |
void V8HTMLEmbedElement::namedPropertyGetterCustom( |
const AtomicString& name, |
const v8::PropertyCallbackInfo<v8::Value>& info) { |
+ UseCounter::count(currentExecutionContext(info.GetIsolate()), |
+ UseCounter::V8HTMLEmbedElement_getter); |
foolip
2017/02/28 04:38:22
The V8* counters are all generated. These are cust
|
getScriptableObjectProperty<V8HTMLEmbedElement>(name, info); |
} |
void V8HTMLObjectElement::namedPropertyGetterCustom( |
const AtomicString& name, |
const v8::PropertyCallbackInfo<v8::Value>& info) { |
+ UseCounter::count(currentExecutionContext(info.GetIsolate()), |
+ UseCounter::V8HTMLObjectElement_getter); |
getScriptableObjectProperty<V8HTMLObjectElement>(name, info); |
} |
@@ -122,6 +126,8 @@ void V8HTMLEmbedElement::namedPropertySetterCustom( |
const AtomicString& name, |
v8::Local<v8::Value> value, |
const v8::PropertyCallbackInfo<v8::Value>& info) { |
+ UseCounter::count(currentExecutionContext(info.GetIsolate()), |
+ UseCounter::V8HTMLEmbedElement_setter); |
setScriptableObjectProperty<V8HTMLEmbedElement>(name, value, info); |
} |
@@ -129,6 +135,8 @@ void V8HTMLObjectElement::namedPropertySetterCustom( |
const AtomicString& name, |
v8::Local<v8::Value> value, |
const v8::PropertyCallbackInfo<v8::Value>& info) { |
+ UseCounter::count(currentExecutionContext(info.GetIsolate()), |
+ UseCounter::V8HTMLObjectElement_setter); |
setScriptableObjectProperty<V8HTMLObjectElement>(name, value, info); |
} |