| Index: Source/bindings/templates/attributes.cpp
|
| diff --git a/Source/bindings/templates/attributes.cpp b/Source/bindings/templates/attributes.cpp
|
| index fa2786be977307e781607cde29253cd504e15eb2..1d8cb105847d5fe3b475e3e0001b3b6cc6a4a133 100644
|
| --- a/Source/bindings/templates/attributes.cpp
|
| +++ b/Source/bindings/templates/attributes.cpp
|
| @@ -203,6 +203,10 @@ v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackI
|
| {% if attribute.measure_as %}
|
| UseCounter::count(activeExecutionContext(), UseCounter::{{attribute.measure_as}});
|
| {% endif %}
|
| + {% if attribute.idl_type == 'Node' %}
|
| + if (V8DOMWrapper::isWrapperOfType(jsValue, &V8Attr::wrapperTypeInfo))
|
| + UseCounter::count(activeExecutionContext(), UseCounter::AttrUsedAsNodeParameter);
|
| + {% endif %}
|
| {% if world_suffix in attribute.activity_logging_world_list_for_setter %}
|
| V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->GetCurrentContext());
|
| if (contextData && contextData->activityLogger()) {
|
|
|