Index: third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp b/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
index bd33f446ad274b14193d845c47261a3bb94a06ee..ae2eadfc902ce6e935f2d21b54182063f5168300 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
@@ -1173,9 +1173,9 @@ void LayoutDeprecatedFlexibleBox::applyLineClamp(FlexBoxIterator& iterator, |
LayoutUnit blockRightEdge = destBlock.logicalRightOffsetForLine( |
lastVisibleLine->y(), DoNotIndentText); |
if (!lastVisibleLine->lineCanAccommodateEllipsis( |
- leftToRight, blockRightEdge.toInt(), |
- (lastVisibleLine->x() + lastVisibleLine->logicalWidth()).toInt(), |
- totalWidth)) |
+ leftToRight, blockRightEdge, |
+ lastVisibleLine->x() + lastVisibleLine->logicalWidth(), |
+ LayoutUnit(totalWidth))) |
continue; |
// Let the truncation code kick in. |