Skip to content
  • hyatt@apple.com's avatar
    2009-02-11 David Hyatt <hyatt@apple.com> · 6a551ad7
    hyatt@apple.com authored
            Eliminate the virtual position() function from RenderObject.  Rename the position() overrides
            in RenderText and RenderBox to positionLineBox and devirtualize them.
            
            Patch the one call site to just check for isText() and isBox() and call the methods directly.
            
            Remove some unnecessary overrides of position() on table sections and rows.
        
            Reviewed by Simon Fraser
    
            * rendering/RenderBox.cpp:
            (WebCore::RenderBox::positionLineBox):
            * rendering/RenderBox.h:
            * rendering/RenderObject.h:
            * rendering/RenderSVGRoot.cpp:
            * rendering/RenderSVGRoot.h:
            * rendering/RenderTableRow.h:
            (WebCore::RenderTableRow::lineHeight):
            * rendering/RenderTableSection.h:
            (WebCore::RenderTableSection::lineHeight):
            * rendering/RenderText.cpp:
            (WebCore::RenderText::positionLineBox):
            * rendering/RenderText.h:
            * rendering/bidi.cpp:
            (WebCore::RenderBlock::computeVerticalPositionsForLine):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6a551ad7