Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index d9973c2d86cf2b4bc9b8693edb4855524db8a4b0..f372b6d28da020656c64fd7e3960ceecdf56fbb9 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -5753,7 +5753,7 @@ v8::Handle<v8::Object> Document::wrap(v8::Handle<v8::Object> creationContext, v8 |
v8::Handle<v8::Object> Document::associateWithWrapper(const WrapperTypeInfo* wrapperType, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate) |
{ |
- V8DOMWrapper::associateObjectWithWrapperNonTemplate(this, wrapperType, wrapper, isolate); |
+ V8DOMWrapper::associateObjectWithWrapperNonTemplate(isolate, this, wrapperType, wrapper); |
DOMWrapperWorld& world = DOMWrapperWorld::current(isolate); |
if (world.isMainWorld() && frame()) |
frame()->script().windowProxy(world)->updateDocumentWrapper(wrapper); |