| Index: Source/bindings/templates/callback_interface.cpp
|
| diff --git a/Source/bindings/templates/callback_interface.cpp b/Source/bindings/templates/callback_interface.cpp
|
| index 82e716dde16cd85cf9f7aedeff27cc2d567ee94e..5bf45619423f1acdd627af5562e5aefa2bfb6ab0 100644
|
| --- a/Source/bindings/templates/callback_interface.cpp
|
| +++ b/Source/bindings/templates/callback_interface.cpp
|
| @@ -61,7 +61,7 @@ DEFINE_TRACE({{v8_class}})
|
| v8::Local<v8::Value> *argv = 0;
|
| {% endif %}
|
|
|
| - {% set this_handle_parameter = 'thisHandle, ' if method.call_with_this_handle else 'm_scriptState->context()->Global(), ' %}
|
| + {% set this_handle_parameter = 'thisHandle, ' if method.call_with_this_handle else 'v8::Undefined(m_scriptState->isolate()), ' %}
|
| {% if method.idl_type == 'boolean' %}
|
| v8::TryCatch exceptionCatcher;
|
| exceptionCatcher.SetVerbose(true);
|
|
|