| Index: third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
| index 48571543ce721c39a31f4ddd183cbc2f0b68f5c0..d280a6520c214c3576dd1f50a0149e8de91e1251 100644
|
| --- a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
| @@ -312,7 +312,7 @@ bool InlineBox::canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidt
|
| if (!getLineLayoutItem().isAtomicInlineLevel())
|
| return true;
|
|
|
| - IntRect boxRect(left(), 0, m_logicalWidth, 10);
|
| + IntRect boxRect(left().toInt(), 0, m_logicalWidth.toInt(), 10);
|
| IntRect ellipsisRect(ltr ? blockEdge - ellipsisWidth : blockEdge, 0, ellipsisWidth, 10);
|
| return !(boxRect.intersects(ellipsisRect));
|
| }
|
|
|