Bug 1427126 - Use setElementWithType instead of setElement in AppendToList. r=bhackett

--HG--
extra : rebase_source : e739fe98c47bc5aa890d191ee5f6ad9998ca2910
This commit is contained in:
Jan de Mooij 2018-01-09 16:37:12 -05:00
Родитель 0cc8c52dcb
Коммит e42c45a512
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -33,7 +33,7 @@ AppendToList(JSContext* cx, HandleNativeObject list, HandleValue value)
return false;
list->ensureDenseInitializedLength(cx, length, 1);
list->setDenseElement(length, value);
list->setDenseElementWithType(cx, length, value);
return true;
}