Bug 770058. InvalidateFrame doesn't need flags, we can just avoid calling ScheduleRepaint if we find any ancestor frame with a descendant that needs invalidation. r=mattwoodrow
This commit is contained in:
@@ -1843,9 +1843,9 @@ nsTableRowGroupFrame::FrameCursorData::AppendFrame(nsIFrame* aFrame)
|
||||
}
|
||||
|
||||
void
|
||||
nsTableRowGroupFrame::InvalidateFrame(uint32_t aFlags)
|
||||
nsTableRowGroupFrame::InvalidateFrame()
|
||||
{
|
||||
nsIFrame::InvalidateFrame(aFlags);
|
||||
nsIFrame::InvalidateFrame();
|
||||
nsTableFrame *tableFrame = nsTableFrame::GetTableFrame(this);
|
||||
tableFrame->InvalidateFrame(aFlags | INVALIDATE_DONT_SCHEDULE_PAINT);
|
||||
tableFrame->InvalidateFrame();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user