diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp index 86d008f1338d..6d26a0805474 100644 --- a/layout/generic/nsBlockFrame.cpp +++ b/layout/generic/nsBlockFrame.cpp @@ -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