Index: Source/bindings/core/v8/ScriptController.cpp |
diff --git a/Source/bindings/core/v8/ScriptController.cpp b/Source/bindings/core/v8/ScriptController.cpp |
index c448754bdb02a165ce0123c38a7340c94519427d..abc87b1bc107cc60d2bd383101abd0ca56f54c32 100644 |
--- a/Source/bindings/core/v8/ScriptController.cpp |
+++ b/Source/bindings/core/v8/ScriptController.cpp |
@@ -274,7 +274,7 @@ void ScriptController::bindToWindowObject(LocalFrame* frame, const String& key, |
return; |
ScriptState::Scope scope(scriptState); |
- v8::Handle<v8::Object> value = createV8ObjectForNPObject(object, 0, m_isolate); |
+ v8::Handle<v8::Object> value = createV8ObjectForNPObject(m_isolate, object, 0); |
// Attach to the global object. |
scriptState->context()->Global()->Set(v8String(m_isolate, key), value); |