Changeset 157824 in webkit
- Timestamp:
- Oct 22, 2013, 3:37:25 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r157823 r157824 1 2013-10-22 Antti Koivisto <antti@apple.com> 2 3 Rename deleteLineBoxTree to deleteLines 4 https://bugs.webkit.org/show_bug.cgi?id=123176 5 6 Reviewed by Andreas Kling. 7 8 RenderBlock::deleteLineBoxTree -> RenderBlock::deleteLines 9 RenderInline::deleteLineBoxTree -> RenderInline::deleteLines 10 1 11 2013-10-22 Tim Horton <timothy_horton@apple.com> 2 12 -
trunk/Source/WebCore/rendering/RenderBlock.cpp
r157810 r157824 503 503 // to clear our line box tree. 504 504 if (beforeChild && childrenInline()) 505 deleteLine BoxTree();505 deleteLines(); 506 506 507 507 // Now take all of the children from beforeChild to the end and remove … … 567 567 568 568 // Delete our line boxes before we do the inline split into continuations. 569 block->deleteLine BoxTree();569 block->deleteLines(); 570 570 571 571 bool madeNewBeforeBlock = false; … … 625 625 626 626 // Delete the block's line boxes before we do the split. 627 block->deleteLine BoxTree();627 block->deleteLines(); 628 628 629 629 if (beforeChild && beforeChild->parent() != this) … … 887 887 } 888 888 889 void RenderBlock::deleteLine BoxTree()889 void RenderBlock::deleteLines() 890 890 { 891 891 if (AXObjectCache* cache = document().existingAXObjectCache()) … … 911 911 return; 912 912 913 deleteLine BoxTree();913 deleteLines(); 914 914 915 915 // Since we are going to have block children, we have to move … … 1046 1046 child->moveAllChildrenTo(parent, nextSibling, child->hasLayer()); 1047 1047 // Delete the now-empty block's lines and nuke it. 1048 child->deleteLine BoxTree();1048 child->deleteLines(); 1049 1049 if (childFlowThread && childFlowThread->isRenderNamedFlowThread()) 1050 1050 toRenderNamedFlowThread(childFlowThread)->removeFlowChildInfo(child); … … 1107 1107 1108 1108 // Delete the now-empty block's lines and nuke it. 1109 nextBlock->deleteLine BoxTree();1109 nextBlock->deleteLines(); 1110 1110 nextBlock->destroy(); 1111 1111 next = 0; … … 1136 1136 // If this was our last child be sure to clear out our line boxes. 1137 1137 if (childrenInline()) 1138 deleteLine BoxTree();1138 deleteLines(); 1139 1139 1140 1140 // If we are an empty anonymous block in the continuation chain, … … 1645 1645 // and our line box tree is no longer valid. 1646 1646 if (runIn->isRenderBlock()) 1647 toRenderBlock(runIn)->deleteLine BoxTree();1647 toRenderBlock(runIn)->deleteLines(); 1648 1648 else if (runIn->isRenderInline()) 1649 toRenderInline(runIn)->deleteLine BoxTree();1649 toRenderInline(runIn)->deleteLines(); 1650 1650 else 1651 1651 ASSERT_NOT_REACHED(); -
trunk/Source/WebCore/rendering/RenderBlock.h
r157810 r157824 111 111 112 112 // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to RenderBlockFlow 113 virtual void deleteLine BoxTree();113 virtual void deleteLines(); 114 114 115 115 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) OVERRIDE; -
trunk/Source/WebCore/rendering/RenderBlockFlow.cpp
r157810 r157824 1612 1612 } 1613 1613 1614 void RenderBlockFlow::deleteLine BoxTree()1614 void RenderBlockFlow::deleteLines() 1615 1615 { 1616 1616 if (containsFloats()) … … 1619 1619 m_lineBoxes.deleteLineBoxTree(renderArena()); 1620 1620 1621 RenderBlock::deleteLine BoxTree();1621 RenderBlock::deleteLines(); 1622 1622 } 1623 1623 -
trunk/Source/WebCore/rendering/RenderBlockFlow.h
r157810 r157824 250 250 bool containsFloat(RenderBox*) const; 251 251 252 virtual void deleteLine BoxTree() OVERRIDE;252 virtual void deleteLines() OVERRIDE; 253 253 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool recomputeFloats = false) OVERRIDE; 254 254 -
trunk/Source/WebCore/rendering/RenderFullScreen.cpp
r157810 r157824 124 124 // Since we are moving the |object| to a new parent |fullscreenRenderer|, 125 125 // the line box tree underneath our |containingBlock| is not longer valid. 126 containingBlock->deleteLine BoxTree();126 containingBlock->deleteLines(); 127 127 128 128 parent->addChild(fullscreenRenderer, object); -
trunk/Source/WebCore/rendering/RenderInline.cpp
r157665 r157824 442 442 443 443 // Delete our line boxes before we do the inline split into continuations. 444 block->deleteLine BoxTree();444 block->deleteLines(); 445 445 446 446 bool madeNewBeforeBlock = false; … … 1340 1340 } 1341 1341 1342 void RenderInline::deleteLine BoxTree()1342 void RenderInline::deleteLines() 1343 1343 { 1344 1344 m_lineBoxes.deleteLineBoxTree(renderArena()); -
trunk/Source/WebCore/rendering/RenderInline.h
r157408 r157824 59 59 60 60 void dirtyLineBoxes(bool fullLayout); 61 void deleteLine BoxTree();61 void deleteLines(); 62 62 63 63 RenderLineBoxList& lineBoxes() { return m_lineBoxes; } -
trunk/Source/WebCore/rendering/RenderRubyBase.cpp
r157509 r157824 118 118 RenderBlock* anonBlockThere = toRenderBlock(lastChildThere); 119 119 anonBlockHere->moveAllChildrenTo(anonBlockThere, true); 120 anonBlockHere->deleteLine BoxTree();120 anonBlockHere->deleteLines(); 121 121 anonBlockHere->destroy(); 122 122 } -
trunk/Source/WebCore/rendering/RenderRubyRun.cpp
r157683 r157824 186 186 if (base && !base->firstChild()) { 187 187 RenderBlockFlow::removeChild(*base); 188 base->deleteLine BoxTree();188 base->deleteLines(); 189 189 base->destroy(); 190 190 } … … 193 193 if (isEmpty()) { 194 194 parent()->removeChild(*this); 195 deleteLine BoxTree();195 deleteLines(); 196 196 destroy(); 197 197 }
Note:
See TracChangeset
for help on using the changeset viewer.