| Index: third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| index a1edc563a28cd844b0ffe4740927ae1547551cc4..c569514eb61167a7d7558e6dcd484fc9186c3d21 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -1578,7 +1578,7 @@ LayoutRect LayoutText::localOverflowRectForPaintInvalidation() const
|
| if (style()->visibility() != VISIBLE)
|
| return LayoutRect();
|
|
|
| - return visualOverflowRect();
|
| + return unionRect(visualOverflowRect(), localSelectionRect());
|
| }
|
|
|
| LayoutRect LayoutText::localSelectionRect() const
|
|
|