| Index: third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/CaretBase.cpp b/third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| index 4715058ba9a9045799e33c02c5af6d3c048f5f51..5992891b77e04f7eb00049da6c629b07662260a1 100644
|
| --- a/third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| @@ -135,7 +135,7 @@ void CaretBase::invalidateLocalCaretRect(Node* node, const LayoutRect& rect)
|
| // FIXME: Need to over-paint 1 pixel to workaround some rounding problems.
|
| // https://bugs.webkit.org/show_bug.cgi?id=108283
|
| LayoutRect inflatedRect = rect;
|
| - inflatedRect.inflate(1);
|
| + inflatedRect.inflate(LayoutUnit(1));
|
|
|
| // FIXME: We should use mapLocalToAncestor() since we know we're not un-rooted.
|
| mapCaretRectToCaretPainter(node->layoutObject(), caretPainter, inflatedRect);
|
|
|