-
hyatt authored
- http://bugs.webkit.org/show_bug.cgi?id=13496 Eliminate repaintObjectsBeforeLayout No tests added since there is no change to functionality. Several tests in fast/repaint test repainting of objects that move during layout. * page/FrameView.cpp: (WebCore::FrameView::layout): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::layoutBlockChildren): Removed an early setNeedsLayout(false). Resetting the bit here prevents the full repaint that we rely on when we decide not to repaint children that move. * rendering/RenderBlock.h: * rendering/RenderObject.cpp: * rendering/RenderObject.h: * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::setCellWidths): Replaced the call to repaintObjectsBeforeLayout() if the cell didn't need layout with an unconditional repaint(). We don't bother with repainting only the delta between the old and new widths, since by marking the cell for layout results in a full repaint with the new width anyway. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21120 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d72625b9