mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 851848 - Remove the OOM check for allocating the BulletFrame now that PresArena allocations are infallible. r=bzbarsky
This commit is contained in:
parent
8ff2ad0840
commit
0c51be76b1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user