Changeset 148468 in webkit
- Timestamp:
- Apr 15, 2013 2:25:35 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r148467 r148468 1 2013-04-15 Igor Oliveira <igor.o@sisa.samsung.com> 2 3 Call directly RenderBlock::deleteLineBoxTree 4 https://bugs.webkit.org/show_bug.cgi?id=102761 5 6 Reviewed by Darin Adler. 7 8 Instead of implementing RenderLineBoxList::deleteLineBoxTree logic inside 9 RenderBlock::determineStartPosition, we can reuse the code. The commentaries added 10 in the changeset #86628 are not valid anymore, nextRootBox is casting m_nextLineBox 11 and nextLineBox is returning m_nextLineBox. 12 13 * rendering/RenderBlockLineLayout.cpp: 14 (WebCore::RenderBlock::determineStartPosition): 15 1 16 2013-04-15 Anders Carlsson <andersca@apple.com> 2 17 -
trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
r148453 r148468 2125 2125 2126 2126 if (layoutState.isFullLayout()) { 2127 // FIXME: This should just call deleteLineBoxTree, but that causes 2128 // crashes for fast/repaint tests. 2129 RenderArena* arena = renderArena(); 2130 curr = firstRootBox(); 2131 while (curr) { 2132 // Note: This uses nextRootBox() insted of nextLineBox() like deleteLineBoxTree does. 2133 RootInlineBox* next = curr->nextRootBox(); 2134 curr->deleteLine(arena); 2135 curr = next; 2136 } 2127 m_lineBoxes.deleteLineBoxTree(renderArena()); 2128 curr = 0; 2129 2137 2130 ASSERT(!firstLineBox() && !lastLineBox()); 2138 2131 } else {
Note: See TracChangeset
for help on using the changeset viewer.