Index: Source/bindings/templates/attributes.cpp |
diff --git a/Source/bindings/templates/attributes.cpp b/Source/bindings/templates/attributes.cpp |
index be681384231dbafaed4966122263aa2f4da1ac30..78192d96039cd1950ec401c873aeb1becd1ff220 100644 |
--- a/Source/bindings/templates/attributes.cpp |
+++ b/Source/bindings/templates/attributes.cpp |
@@ -240,7 +240,7 @@ v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info |
{% if attribute.idl_type != 'EventHandler' %} |
{{attribute.v8_value_to_local_cpp_value}}; |
{% elif not is_node %}{# EventHandler hack #} |
- moveEventListenerToNewWrapper(holder, {{attribute.event_handler_getter_expression}}, v8Value, {{v8_class}}::eventListenerCacheIndex, info.GetIsolate()); |
+ moveEventListenerToNewWrapper(info.GetIsolate(), holder, {{attribute.event_handler_getter_expression}}, v8Value, {{v8_class}}::eventListenerCacheIndex); |
{% endif %} |
{# Type checking, possibly throw a TypeError, per: |
http://www.w3.org/TR/WebIDL/#es-type-mapping #} |