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:
@@ -1352,11 +1352,11 @@ void nsTableRowFrame::InitHasCellWithStyleHeight(nsTableFrame* aTableFrame)
|
||||
}
|
||||
|
||||
void
|
||||
nsTableRowFrame::InvalidateFrame(uint32_t aFlags)
|
||||
nsTableRowFrame::InvalidateFrame()
|
||||
{
|
||||
nsIFrame::InvalidateFrame(aFlags);
|
||||
nsIFrame::InvalidateFrame();
|
||||
nsTableFrame *tableFrame = nsTableFrame::GetTableFrame(this);
|
||||
tableFrame->InvalidateFrame(aFlags | INVALIDATE_DONT_SCHEDULE_PAINT);
|
||||
tableFrame->InvalidateFrame();
|
||||
}
|
||||
|
||||
/* ----- global methods ----- */
|
||||
|
||||
Reference in New Issue
Block a user