Ignore:
Timestamp:
Oct 22, 2013, 2:03:38 PM (12 years ago)
Author:
Antti Koivisto
Message:

Rename some line box functions to be just about lines
https://bugs.webkit.org/show_bug.cgi?id=123168

Reviewed by Dave Hyatt.

firstLineBoxBaseline -> firstLineBaseline
hasInlineBoxChildren -> hasLines

Also use hasLines in a bunch of places where firstLineBox() was used.

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):

Also use hasRenderedText() instead of firstTextBox()

  • rendering/RenderFullScreen.cpp:


Fix namespace.

File:
1 edited

Legend:

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

    r157793 r157810  
    442442            // Update our height and overflow height.
    443443            if (style()->boxAlign() == BBASELINE) {
    444                 LayoutUnit ascent = child->firstLineBoxBaseline();
     444                LayoutUnit ascent = child->firstLineBaseline();
    445445                if (ascent == -1)
    446446                    ascent = child->height() + child->marginBottom();
     
    520520                    break;
    521521                case BBASELINE: {
    522                     LayoutUnit ascent = child->firstLineBoxBaseline();
     522                    LayoutUnit ascent = child->firstLineBaseline();
    523523                    if (ascent == -1)
    524524                        ascent = child->height() + child->marginBottom();
Note: See TracChangeset for help on using the changeset viewer.