Ignore:
Timestamp:
Oct 22, 2013, 4:59:08 PM (12 years ago)
Author:
[email protected]
Message:

CTTE: Modernize RenderBlock a bit
https://bugs.webkit.org/show_bug.cgi?id=123162

Reviewed by Andreas Kling.

Start threading references through RenderBlock. While we
are here, do some selective modernization as well.

File:
1 edited

Legend:

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

    r157810 r157828  
    479479        for (RenderBox* child = iterator.first(); child; child = iterator.next()) {
    480480            if (child->isOutOfFlowPositioned()) {
    481                 child->containingBlock()->insertPositionedObject(child);
     481                child->containingBlock()->insertPositionedObject(*child);
    482482                RenderLayer* childLayer = child->layer();
    483483                childLayer->setStaticInlinePosition(xPos); // FIXME: Not right for regions.
     
    726726
    727727            if (child->isOutOfFlowPositioned()) {
    728                 child->containingBlock()->insertPositionedObject(child);
     728                child->containingBlock()->insertPositionedObject(*child);
    729729                RenderLayer* childLayer = child->layer();
    730730                childLayer->setStaticInlinePosition(borderStart() + paddingStart()); // FIXME: Not right for regions.
Note: See TracChangeset for help on using the changeset viewer.