| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index 6e2ed30d6b0ab7a3026cb6010a572af1c25ddf53..155b9a4a4634306f5bc21257db68d139d3a4ce51 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -246,6 +246,10 @@ static void {{method.name}}MethodCallback{{world_suffix}}(const v8::FunctionCall
|
| {% if method.deprecate_as %}
|
| UseCounter::countDeprecation(activeExecutionContext(), UseCounter::{{method.deprecate_as}});
|
| {% endif %}
|
| + {% for argument in method.arguments if argument.idl_type == 'Node' %}
|
| + if (V8DOMWrapper::isWrapperOfType(info[{{argument.index}}], &V8Attr::wrapperTypeInfo))
|
| + UseCounter::count(activeExecutionContext(), UseCounter::AttrUsedAsNodeParameter);
|
| + {% endfor %}
|
| {% if world_suffix in method.activity_logging_world_list %}
|
| V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->GetCurrentContext());
|
| if (contextData && contextData->activityLogger()) {
|
|
|