Adding in missing wrapper invocation.
Reviewed By: javache Differential Revision: D4714260 fbshipit-source-id: 641dfd07e8161bedf31cfd4cf94b1dc64beec0f9
This commit is contained in:
parent
c53404a688
commit
d5dda1b136
|
@ -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]};
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue