зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1427126 - Use setElementWithType instead of setElement in AppendToList. r=bhackett
--HG-- extra : rebase_source : e739fe98c47bc5aa890d191ee5f6ad9998ca2910
This commit is contained in:
Родитель
0cc8c52dcb
Коммит
e42c45a512
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче