| Index: Source/core/layout/line/EllipsisBox.cpp
|
| diff --git a/Source/core/layout/line/EllipsisBox.cpp b/Source/core/layout/line/EllipsisBox.cpp
|
| index d338d14ae1a612493d075c5505bbe08cdf3f7623..3c86053f546438d5d5eccecd6ae2c3ac7ed76016 100644
|
| --- a/Source/core/layout/line/EllipsisBox.cpp
|
| +++ b/Source/core/layout/line/EllipsisBox.cpp
|
| @@ -72,9 +72,9 @@ bool EllipsisBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& resu
|
|
|
| // Hit test the markup box.
|
| if (InlineBox* markupBox = this->markupBox()) {
|
| - LayoutStyle* style = renderer().style(isFirstLineStyle());
|
| + const LayoutStyle& style = renderer().styleRef(isFirstLineStyle());
|
| LayoutUnit mtx = adjustedLocation.x() + m_logicalWidth - markupBox->x();
|
| - LayoutUnit mty = adjustedLocation.y() + style->fontMetrics().ascent() - (markupBox->y() + markupBox->renderer().style(isFirstLineStyle())->fontMetrics().ascent());
|
| + LayoutUnit mty = adjustedLocation.y() + style.fontMetrics().ascent() - (markupBox->y() + markupBox->renderer().style(isFirstLineStyle())->fontMetrics().ascent());
|
| if (markupBox->nodeAtPoint(request, result, locationInContainer, LayoutPoint(mtx, mty), lineTop, lineBottom)) {
|
| renderer().updateHitTestResult(result, locationInContainer.point() - LayoutSize(mtx, mty));
|
| return true;
|
|
|