Changeset 157824 in webkit


Ignore:
Timestamp:
Oct 22, 2013, 3:37:25 PM (12 years ago)
Author:
Antti Koivisto
Message:

Rename deleteLineBoxTree to deleteLines
https://bugs.webkit.org/show_bug.cgi?id=123176

Reviewed by Andreas Kling.

RenderBlock::deleteLineBoxTree -> RenderBlock::deleteLines
RenderInline::deleteLineBoxTree -> RenderInline::deleteLines

Location:
trunk/Source/WebCore
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r157823 r157824  
     12013-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
    1112013-10-22  Tim Horton  <timothy_horton@apple.com>
    212
  • trunk/Source/WebCore/rendering/RenderBlock.cpp

    r157810 r157824  
    503503    // to clear our line box tree.
    504504    if (beforeChild && childrenInline())
    505         deleteLineBoxTree();
     505        deleteLines();
    506506
    507507    // Now take all of the children from beforeChild to the end and remove
     
    567567   
    568568    // Delete our line boxes before we do the inline split into continuations.
    569     block->deleteLineBoxTree();
     569    block->deleteLines();
    570570   
    571571    bool madeNewBeforeBlock = false;
     
    625625   
    626626    // Delete the block's line boxes before we do the split.
    627     block->deleteLineBoxTree();
     627    block->deleteLines();
    628628
    629629    if (beforeChild && beforeChild->parent() != this)
     
    887887}
    888888
    889 void RenderBlock::deleteLineBoxTree()
     889void RenderBlock::deleteLines()
    890890{
    891891    if (AXObjectCache* cache = document().existingAXObjectCache())
     
    911911        return;
    912912
    913     deleteLineBoxTree();
     913    deleteLines();
    914914
    915915    // Since we are going to have block children, we have to move
     
    10461046    child->moveAllChildrenTo(parent, nextSibling, child->hasLayer());
    10471047    // Delete the now-empty block's lines and nuke it.
    1048     child->deleteLineBoxTree();
     1048    child->deleteLines();
    10491049    if (childFlowThread && childFlowThread->isRenderNamedFlowThread())
    10501050        toRenderNamedFlowThread(childFlowThread)->removeFlowChildInfo(child);
     
    11071107           
    11081108            // Delete the now-empty block's lines and nuke it.
    1109             nextBlock->deleteLineBoxTree();
     1109            nextBlock->deleteLines();
    11101110            nextBlock->destroy();
    11111111            next = 0;
     
    11361136        // If this was our last child be sure to clear out our line boxes.
    11371137        if (childrenInline())
    1138             deleteLineBoxTree();
     1138            deleteLines();
    11391139
    11401140        // If we are an empty anonymous block in the continuation chain,
     
    16451645    // and our line box tree is no longer valid.
    16461646    if (runIn->isRenderBlock())
    1647         toRenderBlock(runIn)->deleteLineBoxTree();
     1647        toRenderBlock(runIn)->deleteLines();
    16481648    else if (runIn->isRenderInline())
    1649         toRenderInline(runIn)->deleteLineBoxTree();
     1649        toRenderInline(runIn)->deleteLines();
    16501650    else
    16511651        ASSERT_NOT_REACHED();
  • trunk/Source/WebCore/rendering/RenderBlock.h

    r157810 r157824  
    111111
    112112    // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to RenderBlockFlow
    113     virtual void deleteLineBoxTree();
     113    virtual void deleteLines();
    114114
    115115    virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) OVERRIDE;
  • trunk/Source/WebCore/rendering/RenderBlockFlow.cpp

    r157810 r157824  
    16121612}
    16131613
    1614 void RenderBlockFlow::deleteLineBoxTree()
     1614void RenderBlockFlow::deleteLines()
    16151615{
    16161616    if (containsFloats())
     
    16191619    m_lineBoxes.deleteLineBoxTree(renderArena());
    16201620
    1621     RenderBlock::deleteLineBoxTree();
     1621    RenderBlock::deleteLines();
    16221622}
    16231623
  • trunk/Source/WebCore/rendering/RenderBlockFlow.h

    r157810 r157824  
    250250    bool containsFloat(RenderBox*) const;
    251251
    252     virtual void deleteLineBoxTree() OVERRIDE;
     252    virtual void deleteLines() OVERRIDE;
    253253    virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool recomputeFloats = false) OVERRIDE;
    254254
  • trunk/Source/WebCore/rendering/RenderFullScreen.cpp

    r157810 r157824  
    124124            // Since we are moving the |object| to a new parent |fullscreenRenderer|,
    125125            // the line box tree underneath our |containingBlock| is not longer valid.
    126             containingBlock->deleteLineBoxTree();
     126            containingBlock->deleteLines();
    127127
    128128            parent->addChild(fullscreenRenderer, object);
  • trunk/Source/WebCore/rendering/RenderInline.cpp

    r157665 r157824  
    442442   
    443443    // Delete our line boxes before we do the inline split into continuations.
    444     block->deleteLineBoxTree();
     444    block->deleteLines();
    445445   
    446446    bool madeNewBeforeBlock = false;
     
    13401340}
    13411341
    1342 void RenderInline::deleteLineBoxTree()
     1342void RenderInline::deleteLines()
    13431343{
    13441344    m_lineBoxes.deleteLineBoxTree(renderArena());
  • trunk/Source/WebCore/rendering/RenderInline.h

    r157408 r157824  
    5959
    6060    void dirtyLineBoxes(bool fullLayout);
    61     void deleteLineBoxTree();
     61    void deleteLines();
    6262
    6363    RenderLineBoxList& lineBoxes() { return m_lineBoxes; }
  • trunk/Source/WebCore/rendering/RenderRubyBase.cpp

    r157509 r157824  
    118118        RenderBlock* anonBlockThere = toRenderBlock(lastChildThere);
    119119        anonBlockHere->moveAllChildrenTo(anonBlockThere, true);
    120         anonBlockHere->deleteLineBoxTree();
     120        anonBlockHere->deleteLines();
    121121        anonBlockHere->destroy();
    122122    }
  • trunk/Source/WebCore/rendering/RenderRubyRun.cpp

    r157683 r157824  
    186186        if (base && !base->firstChild()) {
    187187            RenderBlockFlow::removeChild(*base);
    188             base->deleteLineBoxTree();
     188            base->deleteLines();
    189189            base->destroy();
    190190        }
     
    193193        if (isEmpty()) {
    194194            parent()->removeChild(*this);
    195             deleteLineBoxTree();
     195            deleteLines();
    196196            destroy();
    197197        }
Note: See TracChangeset for help on using the changeset viewer.