Bug 828248 - Part b: Pass MutableHandleId to IndexToId and IndexToIdSlow; r=sfink

This commit is contained in:
Ms2ger
2013-01-11 09:43:00 +01:00
parent 6ea5e853c7
commit a2b66f71ee
12 changed files with 53 additions and 49 deletions

View File

@@ -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);