Ignore:
Timestamp:
Sep 28, 2013, 9:34:37 PM (12 years ago)
Author:
Antti Koivisto
Message:

Switch inline boxes to use const RenderStyle&
https://bugs.webkit.org/show_bug.cgi?id=122068

Reviewed by Sam Weinig.

File:
1 edited

Legend:

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

    r156608 r156613  
    10161016        InlineBox* anchorBox = lastLine->lastChild();
    10171017        if (anchorBox && anchorBox->renderer().style()->isLink())
    1018             totalWidth = anchorBox->logicalWidth() + font.width(constructTextRun(this, font, ellipsisAndSpace, 2, style()));
     1018            totalWidth = anchorBox->logicalWidth() + font.width(constructTextRun(this, font, ellipsisAndSpace, 2, *style()));
    10191019        else {
    10201020            anchorBox = 0;
    1021             totalWidth = font.width(constructTextRun(this, font, &horizontalEllipsis, 1, style()));
     1021            totalWidth = font.width(constructTextRun(this, font, &horizontalEllipsis, 1, *style()));
    10221022        }
    10231023
Note: See TracChangeset for help on using the changeset viewer.