Index: Source/bindings/templates/callback_interface.cpp |
diff --git a/Source/bindings/templates/callback_interface.cpp b/Source/bindings/templates/callback_interface.cpp |
index 06643e2ce0713d69021b45d79ab5790d52057e05..262ac7bfda945e3b29ef49317342919430e03fa3 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(isolateForScriptExecutionContext(context), callback) |
+ , m_callback(toIsolate(context), callback) |
, m_world(DOMWrapperWorld::current()) |
{ |
} |