mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::InsertElementsAt calls. r=froydnj
This commit is contained in:
parent
80264036e7
commit
8c2d6963d3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user