mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Bug 617637 nsTableFrame::PushChildren imagines it can pass null to [@ nsFrameList::RemoveFrame] violating its preconditions
r=bz
This commit is contained in:
parent
8f21b2430e
commit
35c135159c
@ -1953,7 +1953,7 @@ nsTableFrame::PushChildren(const RowGroupArray& aRowGroups,
|
||||
PRUint32 childX;
|
||||
for (childX = aPushFrom; childX < aRowGroups.Length(); ++childX) {
|
||||
nsTableRowGroupFrame* rgFrame = aRowGroups[childX];
|
||||
if (!rgFrame || !rgFrame->IsRepeatable()) {
|
||||
if (!rgFrame->IsRepeatable()) {
|
||||
mFrames.RemoveFrame(rgFrame);
|
||||
frames.AppendFrame(nsnull, rgFrame);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user