| Index: Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
|
| diff --git a/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp b/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
|
| index 2eb1758ae5dce4ca3530e4699ed9132b1a6c74f9..10031bcf65914231abe36dd2816aaa0ddeee740b 100644
|
| --- a/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
|
| +++ b/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
|
| @@ -918,7 +918,7 @@ void LayoutDeprecatedFlexibleBox::applyLineClamp(FlexBoxIterator& iterator, bool
|
| // Let the truncation code kick in.
|
| // FIXME: the text alignment should be recomputed after the width changes due to truncation.
|
| LayoutUnit blockLeftEdge = destBlock.logicalLeftOffsetForLine(lastVisibleLine->y(), false);
|
| - lastVisibleLine->placeEllipsis(ellipsisStr, leftToRight, blockLeftEdge.toFloat(), blockRightEdge.toFloat(), totalWidth);
|
| + lastVisibleLine->placeEllipsis(ellipsisStr, leftToRight, blockLeftEdge, blockRightEdge, totalWidth);
|
| destBlock.setHasMarkupTruncation(true);
|
| }
|
| }
|
|
|