Index: Source/bindings/templates/callback_interface.cpp |
diff --git a/Source/bindings/templates/callback_interface.cpp b/Source/bindings/templates/callback_interface.cpp |
index 62bd7ccd326fb044e049924c1c566d9d1d6a6195..06643e2ce0713d69021b45d79ab5790d52057e05 100644 |
--- a/Source/bindings/templates/callback_interface.cpp |
+++ b/Source/bindings/templates/callback_interface.cpp |
@@ -43,7 +43,7 @@ namespace WebCore { |
{{v8_class_name}}::{{v8_class_name}}(v8::Handle<v8::Object> callback, ScriptExecutionContext* context) |
: ActiveDOMCallback(context) |
- , m_callback(callback) |
+ , m_callback(isolateForScriptExecutionContext(context), callback) |
, m_world(DOMWrapperWorld::current()) |
{ |
} |