[webkit-dev] JavaJSObject vs JSObject
Geoffrey Garen
ggaren at apple.com
Tue Mar 22 19:31:19 PDT 2011
> JSObjectRef seems straight-forward: It's a struct OpaqueJSValue*,
> which is the same a JSC::JSObject*, and I get the latter from the
> former using toRef from APICast.h.
No. JSObjectRef may be a JSObject*, or something else.
> Is it better to search for JSGlobalContextRef on each method call, or should
> it be stashed in a field of the Java JSObject wrapper?
Depends on your design.
Geoff
More information about the webkit-dev
mailing list