| 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..1c60662c05a1535f9d58a73be1ab03851a21bf90 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::HTMLEmbedElementGetter);
|
| getScriptableObjectProperty<V8HTMLEmbedElement>(name, info);
|
| }
|
|
|
| void V8HTMLObjectElement::namedPropertyGetterCustom(
|
| const AtomicString& name,
|
| const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| + UseCounter::count(currentExecutionContext(info.GetIsolate()),
|
| + UseCounter::HTMLObjectElementGetter);
|
| 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::HTMLEmbedElementSetter);
|
| 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::HTMLObjectElementSetter);
|
| setScriptableObjectProperty<V8HTMLObjectElement>(name, value, info);
|
| }
|
|
|
|
|