Index: third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp |
index 7328c89a284079e8cfeb459a15e62b61c3fbb8b9..ab7e8b01ebab2e21126cbee1ec5a99d4c9e871d7 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp |
@@ -2420,8 +2420,8 @@ void LayoutBlockFlow::checkLinesForTextOverflow() { |
LayoutUnit width(indentText == IndentText ? firstLineEllipsisWidth |
: ellipsisWidth); |
LayoutUnit blockEdge = ltr ? blockRightEdge : blockLeftEdge; |
- if (curr->lineCanAccommodateEllipsis( |
- ltr, blockEdge.toInt(), lineBoxEdge.toInt(), width.toInt())) { |
+ if (curr->lineCanAccommodateEllipsis(ltr, blockEdge, lineBoxEdge, |
+ width)) { |
LayoutUnit totalLogicalWidth = curr->placeEllipsis( |
selectedEllipsisStr, ltr, blockLeftEdge, blockRightEdge, width); |
LayoutUnit logicalLeft; // We are only interested in the delta from the |