Skip to content

Commit

Permalink
Adding in missing wrapper invocation.
Browse files Browse the repository at this point in the history
Reviewed By: javache

Differential Revision: D4714260

fbshipit-source-id: 641dfd07e8161bedf31cfd4cf94b1dc64beec0f9
  • Loading branch information
Ashok Menon authored and facebook-github-bot committed Mar 16, 2017
1 parent c53404a commit d5dda1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion React/CxxModule/RCTCxxUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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]};
}
};
Expand Down

0 comments on commit d5dda1b

Please sign in to comment.