Bug 851848 - Remove the OOM check for allocating the BulletFrame now that PresArena allocations are infallible. r=bzbarsky

This commit is contained in:
Mats Palmgren 2013-03-23 21:10:34 +01:00
parent 8ff2ad0840
commit 0c51be76b1

View File

@ -6560,9 +6560,6 @@ nsBlockFrame::SetInitialChildList(ChildListID aListID,
// Create bullet frame
nsBulletFrame* bullet = new (shell) nsBulletFrame(kidSC);
if (!bullet) {
return NS_ERROR_OUT_OF_MEMORY;
}
bullet->Init(mContent, this, nullptr);
// If the list bullet frame should be positioned inside then add