Bug 1136925 part 4. Stop passing parents to ProxyObject::New. r=waldo

This commit is contained in:
Boris Zbarsky
2015-02-26 15:58:59 -05:00
parent c3a0cd16a1
commit 7be39cc8c9
4 changed files with 5 additions and 9 deletions

View File

@@ -1803,7 +1803,7 @@ js::CloneObject(JSContext *cx, HandleObject obj, Handle<js::TaggedProto> proto)
ProxyOptions options;
options.setClass(obj->getClass());
clone = ProxyObject::New(cx, GetProxyHandler(obj), JS::NullHandleValue, proto, nullptr, options);
clone = ProxyObject::New(cx, GetProxyHandler(obj), JS::NullHandleValue, proto, options);
if (!clone)
return nullptr;