No bug. Remove unnecessary SkipRoot from structured clone buffers.

--HG--
extra : rebase_source : 057f79cd78741572cc607213638895c2815ab7da
This commit is contained in:
Steve Fink 2013-07-22 14:46:48 -07:00
parent fc4c03d342
commit 7eeb14eafb

View File

@ -291,10 +291,6 @@ ReadStructuredClone(JSContext *cx, uint64_t *data, size_t nbytes, Value *vp,
const JSStructuredCloneCallbacks *cb, void *cbClosure)
{
SCInput in(cx, data, nbytes);
/* XXX disallow callers from using internal pointers to GC things. */
SkipRoot skip(cx, &in);
JSStructuredCloneReader r(in, cb, cbClosure);
return r.read(vp);
}