Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::InsertElementsAt calls. r=froydnj

This commit is contained in:
Birunthan Mohanathas 2015-05-18 13:50:34 -07:00
parent 80264036e7
commit 8c2d6963d3

View File

@ -561,7 +561,7 @@ MediaRawData::EnsureCapacity(size_t aSize)
// Nothing to do.
} else if (shift > 0) {
// We ensure sufficient capacity above so this shouldn't fail.
MOZ_ALWAYS_TRUE(mBuffer->InsertElementsAt(oldpadding, shift));
MOZ_ALWAYS_TRUE(mBuffer->InsertElementsAt(oldpadding, shift, fallible));
} else {
mBuffer->RemoveElementsAt(mPadding, -shift);
}