Bug 839376 (part 1) - Add an exact root for jstypedarray.cpp. r=sfink.

--HG--
extra : rebase_source : fb5dd6bbd53ac0949070f574a636ec480131741b
This commit is contained in:
Nicholas Nethercote 2013-02-11 14:03:02 -08:00
parent fa80935dfb
commit d720d841a1

View File

@ -1542,7 +1542,7 @@ class TypedArrayTemplate
{
JS_ASSERT(proto);
JSObject *obj = NewBuiltinClassInstance(cx, fastClass());
RootedObject obj(cx, NewBuiltinClassInstance(cx, fastClass()));
if (!obj)
return NULL;