| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index fd88baa3561ee93999dc2ea04f90fdcfb3c93822..8ebd73726a224e6fce94ad2949df42c1e3548999 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -3611,7 +3611,7 @@ LayoutRect LayoutBox::localCaretRect(InlineBox* box, int caretOffset, LayoutUnit
|
| bool ltr = box ? box->isLeftToRightDirection() : style()->isLeftToRightDirection();
|
|
|
| if ((!caretOffset) ^ ltr)
|
| - rect.move(LayoutSize(size().width() - caretWidth(), 0));
|
| + rect.move(LayoutSize(size().width() - caretWidth(), LayoutUnit()));
|
|
|
| if (box) {
|
| RootInlineBox& rootBox = box->root();
|
|
|