Chromium Code Reviews| Index: Source/bindings/templates/attributes.cpp |
| diff --git a/Source/bindings/templates/attributes.cpp b/Source/bindings/templates/attributes.cpp |
| index 78e926b5eec318616c47ebbee81b3bab0cf4247a..bc8b8c8fbcd3ab32c15e237a5313e339ddff184e 100644 |
| --- a/Source/bindings/templates/attributes.cpp |
| +++ b/Source/bindings/templates/attributes.cpp |
| @@ -166,7 +166,7 @@ v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info |
| {% if world_suffix in attribute.activity_logging_world_list_for_getter %} |
| V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->GetCurrentContext()); |
| if (contextData && contextData->activityLogger()) |
| - contextData->activityLogger()->log("{{interface_name}}.{{attribute.name}}", 0, 0, "Getter"); |
| + contextData->activityLogger()->logGetter("{{interface_name}}.{{attribute.name}}"); |
| {% endif %} |
| {% if attribute.has_custom_getter %} |
| {{v8_class}}::{{attribute.name}}AttributeGetterCustom(info); |
| @@ -300,8 +300,8 @@ v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackI |
| {% if world_suffix in attribute.activity_logging_world_list_for_setter %} |
| V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->GetCurrentContext()); |
| if (contextData && contextData->activityLogger()) { |
| - v8::Handle<v8::Value> loggerArg[] = { jsValue }; |
| - contextData->activityLogger()->log("{{interface_name}}.{{attribute.name}}", 1, &loggerArg[0], "Setter"); |
| + v8::Handle<v8::Value> HACK; |
|
Devlin
2014/03/26 22:58:42
I'm a bit at a loss for how to best get the curren
Nils Barth (inactive)
2014/03/27 02:20:08
?
Can't you just pass in jsValue (sans array),
as
Nils Barth (inactive)
2014/03/27 02:39:50
OIC, sorry, the point of this CL is to add this va
Nils Barth (inactive)
2014/03/27 02:51:25
Simplest would be if you could just call the *Attr
Devlin
2014/03/27 20:35:30
(I've never worked on the bindings before, so I mi
pmarch
2014/04/17 16:10:58
I am not an expert on this, but it looks to me tha
|
| + contextData->activityLogger()->logSetter("{{interface_name}}.{{attribute.name}}", jsValue, HACK); |
| } |
| {% endif %} |
| {% if attribute.is_custom_element_callbacks or attribute.is_reflect %} |