mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 839376 (part 1) - Add an exact root for jstypedarray.cpp. r=sfink.
--HG-- extra : rebase_source : fb5dd6bbd53ac0949070f574a636ec480131741b
This commit is contained in:
parent
c59a9df4f6
commit
b7bd0bacf8
@ -1542,7 +1542,7 @@ class TypedArrayTemplate
|
||||
{
|
||||
JS_ASSERT(proto);
|
||||
|
||||
JSObject *obj = NewBuiltinClassInstance(cx, fastClass());
|
||||
RootedObject obj(cx, NewBuiltinClassInstance(cx, fastClass()));
|
||||
if (!obj)
|
||||
return NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user