Bug 828248 - Part b: Pass MutableHandleId to IndexToId and IndexToIdSlow; r=sfink
This commit is contained in:
@@ -1184,7 +1184,7 @@ js_SuppressDeletedProperty(JSContext *cx, HandleObject obj, jsid id)
|
||||
bool
|
||||
js_SuppressDeletedElement(JSContext *cx, HandleObject obj, uint32_t index)
|
||||
{
|
||||
jsid id;
|
||||
RootedId id(cx);
|
||||
if (!IndexToId(cx, index, &id))
|
||||
return false;
|
||||
return js_SuppressDeletedProperty(cx, obj, id);
|
||||
|
||||
Reference in New Issue
Block a user