Changeset 52838 in webkit
- Timestamp:
- Jan 5, 2010 4:07:56 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r52836 r52838 1 2010-01-05 James Robinson <jamesr@chromium.org> 2 3 Reviewed by David Hyatt. 4 5 Cleans up line box clearing when a RenderBlock loses its last child. 6 https://bugs.webkit.org/show_bug.cgi?id=33228 7 8 The 'fullLayout' flag in RenderBlock::layoutInlineChildren() is pretty vague, hopefully this will be easier for the next person to figure out. 9 10 11 No new tests. 12 13 * rendering/RenderBlock.cpp: 14 (WebCore::RenderBlock::removeChild): 15 * rendering/RenderBlockLineLayout.cpp: 16 (WebCore::RenderBlock::layoutInlineChildren): 17 1 18 2010-01-05 Alexander Pavlov <apavlov@chromium.org> 2 19 -
trunk/WebCore/rendering/RenderBlock.cpp
r52632 r52838 555 555 anonBlock->destroy(); 556 556 } 557 558 // If this was our last child be sure to clear out our line boxes. 559 if (childrenInline() && !firstChild()) 560 lineBoxes()->deleteLineBoxes(renderArena()); 557 561 } 558 562 -
trunk/WebCore/rendering/RenderBlockLineLayout.cpp
r52607 r52838 824 824 // Figure out if we should clear out our line boxes. 825 825 // FIXME: Handle resize eventually! 826 bool fullLayout = !firstLineBox() || !firstChild() ||selfNeedsLayout() || relayoutChildren;826 bool fullLayout = !firstLineBox() || selfNeedsLayout() || relayoutChildren; 827 827 if (fullLayout) 828 828 lineBoxes()->deleteLineBoxes(renderArena());
Note: See TracChangeset
for help on using the changeset viewer.