Index: Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
diff --git a/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp b/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
index 4fd55ec7a9aed5b30044b9cbb36889824b780214..21f6444f3fc788a79eaf6946abdb0f4c4293a691 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; |