Index: Source/bindings/core/v8/V8NPObject.cpp |
diff --git a/Source/bindings/core/v8/V8NPObject.cpp b/Source/bindings/core/v8/V8NPObject.cpp |
index 6c923028a317be805ee0836275ffe7ee295597c6..4c6ceeddf23ef1ec06a273e5e0c95fa1a49b0fa6 100644 |
--- a/Source/bindings/core/v8/V8NPObject.cpp |
+++ b/Source/bindings/core/v8/V8NPObject.cpp |
@@ -468,7 +468,7 @@ v8::Local<v8::Object> createV8ObjectForNPObject(NPObject* object, NPObject* root |
if (value.IsEmpty()) |
return value; |
- V8DOMWrapper::setNativeInfo(value, npObjectTypeInfo(), object); |
+ V8DOMWrapper::setNativeInfo(value, npObjectTypeInfo(), npObjectToInternalPointer(object)); |
// KJS retains the object as part of its wrapper (see Bindings::CInstance). |
_NPN_RetainObject(object); |