Index: Source/bindings/v8/V8NPObject.cpp |
diff --git a/Source/bindings/v8/V8NPObject.cpp b/Source/bindings/v8/V8NPObject.cpp |
index 200c40752d7abce556893a55f41e4d6e178b8c45..00eaed8137e1540de1b00541d9003b5aa5fe4afc 100644 |
--- a/Source/bindings/v8/V8NPObject.cpp |
+++ b/Source/bindings/v8/V8NPObject.cpp |
@@ -111,7 +111,7 @@ static void npObjectInvokeImpl(const v8::FunctionCallbackInfo<v8::Value>& args, |
OwnArrayPtr<NPVariant> npArgs = adoptArrayPtr(new NPVariant[numArgs]); |
for (int i = 0; i < numArgs; i++) |
- convertV8ObjectToNPVariant(args[i], npObject, &npArgs[i]); |
+ convertV8ObjectToNPVariant(args[i], npObject, &npArgs[i], args.GetIsolate()); |
NPVariant result; |
VOID_TO_NPVARIANT(result); |
@@ -320,7 +320,7 @@ static v8::Handle<v8::Value> npObjectSetProperty(v8::Local<v8::Object> self, NPI |
NPVariant npValue; |
VOID_TO_NPVARIANT(npValue); |
- convertV8ObjectToNPVariant(value, npObject, &npValue); |
+ convertV8ObjectToNPVariant(value, npObject, &npValue, isolate); |
bool success = npObject->_class->setProperty(npObject, identifier, &npValue); |
_NPN_ReleaseVariantValue(&npValue); |
if (success) |