Index: Source/bindings/templates/attributes.cpp |
diff --git a/Source/bindings/templates/attributes.cpp b/Source/bindings/templates/attributes.cpp |
index f7bc807acd6fcd53e79afed39c967926936fb1f9..18790e6220ef44b12ef887e3ba53575967e89f20 100644 |
--- a/Source/bindings/templates/attributes.cpp |
+++ b/Source/bindings/templates/attributes.cpp |
@@ -154,7 +154,7 @@ v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info |
UseCounter::countDeprecationIfNotPrivateScript(info.GetIsolate(), callingExecutionContext(info.GetIsolate()), UseCounter::{{attribute.deprecate_as}}); |
{% endif %} |
{% if attribute.measure_as %} |
- UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecutionContext(info.GetIsolate()), UseCounter::{{attribute.measure_as}}); |
+ UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecutionContext(info.GetIsolate()), UseCounter::{{attribute.measure_as('AttributeGetter')}}); |
{% endif %} |
{% if world_suffix in attribute.activity_logging_world_list_for_getter %} |
ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentContext()); |
@@ -187,7 +187,7 @@ static void {{attribute.name}}ConstructorGetterCallback{{world_suffix}}(v8::Loca |
UseCounter::countDeprecationIfNotPrivateScript(info.GetIsolate(), callingExecutionContext(info.GetIsolate()), UseCounter::{{attribute.deprecate_as}}); |
{% endif %} |
{% if attribute.measure_as %} |
- UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecutionContext(info.GetIsolate()), UseCounter::{{attribute.measure_as}}); |
+ UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecutionContext(info.GetIsolate()), UseCounter::{{attribute.measure_as('ConstructorGetter')}}); |
{% endif %} |
{{cpp_class_or_partial}}V8Internal::{{cpp_class}}ConstructorGetter{{world_suffix}}(property, info); |
TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
@@ -299,7 +299,7 @@ v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackI |
UseCounter::countDeprecationIfNotPrivateScript(info.GetIsolate(), callingExecutionContext(info.GetIsolate()), UseCounter::{{attribute.deprecate_as}}); |
{% endif %} |
{% if attribute.measure_as %} |
- UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecutionContext(info.GetIsolate()), UseCounter::{{attribute.measure_as}}); |
+ UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecutionContext(info.GetIsolate()), UseCounter::{{attribute.measure_as('AttributeSetter')}}); |
{% endif %} |
{% if world_suffix in attribute.activity_logging_world_list_for_setter %} |
ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentContext()); |