mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
No bug. Remove unnecessary SkipRoot from structured clone buffers.
--HG-- extra : rebase_source : 057f79cd78741572cc607213638895c2815ab7da
This commit is contained in:
parent
fc4c03d342
commit
7eeb14eafb
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user