| Index: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
|
| index 46dd61cf23d0a2076f23be9bfc56b39112a43fe9..15e04065780106bf68e3bb12ca6a3489e9a15205 100644
|
| --- a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
|
| @@ -318,7 +318,8 @@ void ObjectPaintInvalidator::setBackingNeedsPaintInvalidationInRect(
|
| rect, reason, m_object);
|
| } else if (paintInvalidationContainer.usesCompositedScrolling()) {
|
| DCHECK(m_object == paintInvalidationContainer);
|
| - if (reason == PaintInvalidationBackgroundOnScrollingContentsLayer) {
|
| + if (reason == PaintInvalidationBackgroundOnScrollingContentsLayer ||
|
| + reason == PaintInvalidationCaret) {
|
| layer.compositedLayerMapping()->setScrollingContentsNeedDisplayInRect(
|
| rect, reason, m_object);
|
| } else {
|
|
|