Index: Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
diff --git a/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp b/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
index 5696fb0522606346130d34876b506ad4414c4c1f..c83b83c89e27d370eb4532e5c56fce93c2a3ab6f 100644 |
--- a/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
+++ b/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
@@ -903,7 +903,7 @@ void LayoutDeprecatedFlexibleBox::applyLineClamp(FlexBoxIterator& iterator, bool |
// Get ellipsis width, and if the last child is an anchor, it will go after the ellipsis, so add in a space and the anchor width too |
float totalWidth; |
InlineBox* anchorBox = lastLine->lastChild(); |
- if (anchorBox && anchorBox->renderer().style()->isLink()) { |
+ if (anchorBox && anchorBox->layoutObject().style()->isLink()) { |
totalWidth = anchorBox->logicalWidth() + font.width(constructTextRun(this, font, ellipsisAndSpace, 2, styleRef(), style()->direction())); |
} else { |
anchorBox = 0; |