Bug 924720 - Part 5: Allow callers of NewProxyObject() to specify a Proxy JSClass. (r=jwalden)

This commit is contained in:
Eric Faust committed 2014-01-29 17:20:16 -08:00
1 parent d9a167cd70
commit d63184cb61
8 files changed
+38 -29

No files matched your search

+1 -1
View File
@@ -574,7 +574,7 @@ JavaScriptParent::unwrap(JSContext *cx, ObjectId objId)
RootedValue v(cx, UndefinedValue());
ProxyOptions options;
options.setCallable(callable);
options.selectDefaultClass(callable);
obj = NewProxyObject(cx,
&CPOWProxyHandler::singleton,
v,