| Index: Source/core/layout/line/EllipsisBox.cpp
|
| diff --git a/Source/core/layout/line/EllipsisBox.cpp b/Source/core/layout/line/EllipsisBox.cpp
|
| index faea25c63a94c4b8f5c359849efeee61302ffb96..2aab9bd8a8a0f6a2cee809c3a9bc193ce85092b3 100644
|
| --- a/Source/core/layout/line/EllipsisBox.cpp
|
| +++ b/Source/core/layout/line/EllipsisBox.cpp
|
| @@ -59,7 +59,7 @@ InlineBox* EllipsisBox::markupBox() const
|
|
|
| IntRect EllipsisBox::selectionRect()
|
| {
|
| - const LayoutStyle& style = layoutObject().styleRef(isFirstLineStyle());
|
| + const ComputedStyle& style = layoutObject().styleRef(isFirstLineStyle());
|
| const Font& font = style.font();
|
| return enclosingIntRect(font.selectionRectForText(constructTextRun(&layoutObject(), font, m_str, style, TextRun::AllowTrailingExpansion), IntPoint(logicalLeft(), logicalTop() + root().selectionTopAdjustedForPrecedingBlock()), root().selectionHeightAdjustedForPrecedingBlock()));
|
| }
|
| @@ -72,7 +72,7 @@ bool EllipsisBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& resu
|
|
|
| // Hit test the markup box.
|
| if (InlineBox* markupBox = this->markupBox()) {
|
| - const LayoutStyle& style = layoutObject().styleRef(isFirstLineStyle());
|
| + const ComputedStyle& style = layoutObject().styleRef(isFirstLineStyle());
|
| LayoutUnit mtx = adjustedLocation.x() + m_logicalWidth - markupBox->x();
|
| LayoutUnit mty = adjustedLocation.y() + style.fontMetrics().ascent() - (markupBox->y() + markupBox->layoutObject().style(isFirstLineStyle())->fontMetrics().ascent());
|
| if (markupBox->nodeAtPoint(request, result, locationInContainer, LayoutPoint(mtx, mty), lineTop, lineBottom)) {
|
|
|