mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1153478 part 2 - Remove useless assertions. r=roc
This commit is contained in:
parent
8a4db48565
commit
8e82f87fcb
@ -1620,7 +1620,6 @@ nsContainerFrame::DrainSelfOverflowList()
|
||||
{
|
||||
AutoFrameListPtr overflowFrames(PresContext(), StealOverflowFrames());
|
||||
if (overflowFrames) {
|
||||
NS_ASSERTION(mFrames.NotEmpty(), "overflow list w/o frames");
|
||||
mFrames.AppendFrames(nullptr, *overflowFrames);
|
||||
return true;
|
||||
}
|
||||
|
@ -508,7 +508,6 @@ nsInlineFrame::DrainSelfOverflowListInternal(DrainFlags aFlags,
|
||||
{
|
||||
AutoFrameListPtr overflowFrames(PresContext(), StealOverflowFrames());
|
||||
if (overflowFrames) {
|
||||
NS_ASSERTION(mFrames.NotEmpty(), "overflow list w/o frames");
|
||||
// The frames on our own overflowlist may have been pushed by a
|
||||
// previous lazilySetParentPointer Reflow so we need to ensure the
|
||||
// correct parent pointer. This is sometimes skipped by Reflow.
|
||||
@ -1200,8 +1199,6 @@ nsFirstLineFrame::DrainSelfOverflowList()
|
||||
{
|
||||
AutoFrameListPtr overflowFrames(PresContext(), StealOverflowFrames());
|
||||
if (overflowFrames) {
|
||||
NS_ASSERTION(mFrames.NotEmpty(), "overflow list w/o frames");
|
||||
|
||||
bool result = !overflowFrames->IsEmpty();
|
||||
const nsFrameList::Slice& newFrames =
|
||||
mFrames.AppendFrames(nullptr, *overflowFrames);
|
||||
|
Loading…
Reference in New Issue
Block a user