Adding in missing wrapper invocation.

Reviewed By: javache

Differential Revision: D4714260

fbshipit-source-id: 641dfd07e8161bedf31cfd4cf94b1dc64beec0f9
This commit is contained in:
Ashok Menon authored and Facebook Github Bot committed 2017-03-15 18:30:20 -07:00
1 parent c53404a688
commit d5dda1b136
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ template <>
struct ValueEncoder<NSArray *> {
static Value toValue(JSGlobalContextRef ctx, NSArray *const __strong array)
{
JSValue *value = [JSValue valueWithObject:array inContext:contextForGlobalContextRef(ctx)];
JSValue *value = [JSC_JSValue(ctx) valueWithObject:array inContext:contextForGlobalContextRef(ctx)];
return {ctx, [value JSValueRef]};
}
};