Ignore:
Timestamp:
Oct 19, 2013, 2:43:30 PM (12 years ago)
Author:
[email protected]
Message:

Move m_lineBoxes from RenderBlock to RenderBlockFlow (Part 4)
https://bugs.webkit.org/show_bug.cgi?id=122969

Reviewed by Andreas Kling.

  • Fix classes derived from RenderBlockFlow that were still calling up to RenderBlock rather than RenderBlockFlow.
  • rendering/RenderDetailsMarker.cpp:

(WebCore::RenderDetailsMarker::paint):

  • rendering/RenderFieldset.cpp:

(WebCore::RenderFieldset::computePreferredLogicalWidths):
(WebCore::RenderFieldset::paintBoxDecorations):
(WebCore::RenderFieldset::paintMask):

  • rendering/RenderFileUploadControl.cpp:

(WebCore::RenderFileUploadControl::paintObject):

  • rendering/RenderFlowThread.cpp:

(WebCore::RenderFlowThread::styleDidChange):
(WebCore::RenderFlowThread::layout):
(WebCore::RenderFlowThread::nodeAtPoint):

  • rendering/RenderFullScreen.cpp:

(RenderFullScreenPlaceholder::willBeDestroyed):

  • rendering/RenderListItem.cpp:

(WebCore::RenderListItem::styleDidChange):

  • rendering/RenderMultiColumnBlock.cpp:

(WebCore::RenderMultiColumnBlock::styleDidChange):
(WebCore::RenderMultiColumnBlock::updateLogicalWidthAndColumnWidth):
(WebCore::RenderMultiColumnBlock::addChild):

  • rendering/RenderProgress.cpp:

(WebCore::RenderProgress::updateFromElement):

  • rendering/RenderRuby.cpp:

(WebCore::RenderRubyAsBlock::styleDidChange):
(WebCore::RenderRubyAsBlock::addChild):
(WebCore::RenderRubyAsBlock::removeChild):

  • rendering/RenderRubyRun.cpp:

(WebCore::RenderRubyRun::rubyBaseSafe):
(WebCore::RenderRubyRun::addChild):
(WebCore::RenderRubyRun::removeChild):
(WebCore::RenderRubyRun::layout):

  • rendering/RenderRubyText.cpp:

(WebCore::RenderRubyText::textAlignmentForLine):
(WebCore::RenderRubyText::adjustInlineDirectionLineBounds):

  • rendering/RenderTableCaption.cpp:

(WebCore::RenderTableCaption::willBeRemovedFromTree):

  • rendering/RenderTableCell.cpp:

(WebCore::RenderTableCell::willBeRemovedFromTree):
(WebCore::RenderTableCell::computePreferredLogicalWidths):
(WebCore::RenderTableCell::offsetFromContainer):
(WebCore::RenderTableCell::clippedOverflowRectForRepaint):
(WebCore::RenderTableCell::computeRectForRepaint):
(WebCore::RenderTableCell::styleDidChange):
(WebCore::RenderTableCell::borderLeft):
(WebCore::RenderTableCell::borderRight):
(WebCore::RenderTableCell::borderTop):
(WebCore::RenderTableCell::borderBottom):
(WebCore::RenderTableCell::borderStart):
(WebCore::RenderTableCell::borderEnd):
(WebCore::RenderTableCell::borderBefore):
(WebCore::RenderTableCell::borderAfter):
(WebCore::RenderTableCell::paint):

  • rendering/RenderTextControl.cpp:

(WebCore::RenderTextControl::styleDidChange):

  • rendering/RenderTextControlSingleLine.cpp:

(WebCore::RenderTextControlSingleLine::scrollWidth):
(WebCore::RenderTextControlSingleLine::scrollHeight):
(WebCore::RenderTextControlSingleLine::scrollLeft):
(WebCore::RenderTextControlSingleLine::scrollTop):
(WebCore::RenderTextControlSingleLine::scroll):
(WebCore::RenderTextControlSingleLine::logicalScroll):

  • rendering/RenderTextTrackCue.cpp:

(WebCore::RenderTextTrackCue::layout):

  • rendering/RenderView.cpp:

(WebCore::RenderView::layoutContent):
(WebCore::RenderView::addChild):
(WebCore::RenderView::visualOverflowRect):
(WebCore::RenderView::styleDidChange):

  • rendering/svg/RenderSVGBlock.cpp:

(WebCore::RenderSVGBlock::setStyle):
(WebCore::RenderSVGBlock::updateFromStyle):
(WebCore::RenderSVGBlock::willBeDestroyed):
(WebCore::RenderSVGBlock::styleWillChange):
(WebCore::RenderSVGBlock::styleDidChange):

  • rendering/svg/SVGTextQuery.cpp:

(WebCore::flowBoxForRenderer):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/rendering/RenderMultiColumnBlock.cpp

    r157535 r157683  
    4848void RenderMultiColumnBlock::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
    4949{
    50     RenderBlock::styleDidChange(diff, oldStyle);
     50    RenderBlockFlow::styleDidChange(diff, oldStyle);
    5151    for (RenderBox* child = firstChildBox(); child; child = child->nextSiblingBox())
    5252        child->setStyle(RenderStyle::createAnonymousStyleWithDisplay(style(), BLOCK));
     
    8181bool RenderMultiColumnBlock::updateLogicalWidthAndColumnWidth()
    8282{
    83     bool relayoutChildren = RenderBlock::updateLogicalWidthAndColumnWidth();
     83    bool relayoutChildren = RenderBlockFlow::updateLogicalWidthAndColumnWidth();
    8484    LayoutUnit oldColumnWidth = m_columnWidth;
    8585    computeColumnCountAndWidth();
     
    142142        m_flowThread = new RenderMultiColumnFlowThread(document());
    143143        m_flowThread->setStyle(RenderStyle::createAnonymousStyleWithDisplay(style(), BLOCK));
    144         RenderBlock::addChild(m_flowThread);
     144        RenderBlockFlow::addChild(m_flowThread);
    145145    }
    146146    m_flowThread->addChild(newChild, beforeChild);
Note: See TracChangeset for help on using the changeset viewer.