Index: Source/bindings/scripts/deprecated_code_generator_v8.pm |
diff --git a/Source/bindings/scripts/deprecated_code_generator_v8.pm b/Source/bindings/scripts/deprecated_code_generator_v8.pm |
index 80388538b715517f25242504f6962b4b520e8533..8868f0fac1a1b932c3feb76b338bd06551a39213 100644 |
--- a/Source/bindings/scripts/deprecated_code_generator_v8.pm |
+++ b/Source/bindings/scripts/deprecated_code_generator_v8.pm |
@@ -4596,7 +4596,7 @@ sub GenerateCallbackImplementation |
$implementation{nameSpaceWebCore}->add(<<END); |
${v8ClassName}::${v8ClassName}(v8::Handle<v8::Object> callback, ScriptExecutionContext* context) |
: ActiveDOMCallback(context) |
- , m_callback(isolateForScriptExecutionContext(context), callback) |
+ , m_callback(toIsolate(context), callback) |
, m_world(DOMWrapperWorld::current()) |
{ |
} |