Bug 816776 - Add debug-mode exact rooting assertions for Shape; r=sfink
This commit is contained in:
@@ -428,6 +428,7 @@ template<XDRMode mode>
|
||||
bool
|
||||
js::XDRAtom(XDRState<mode> *xdr, MutableHandleAtom atomp)
|
||||
{
|
||||
AssertCanGC();
|
||||
if (mode == XDR_ENCODE) {
|
||||
uint32_t nchars = atomp->length();
|
||||
if (!xdr->codeUint32(&nchars))
|
||||
|
||||
Reference in New Issue
Block a user