| 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 e41d807fd6544a6a94e17a77747946445fe5ea3e..eeeb7e45e7cb0dd73e65ba229d626b856a40b284 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 {
|
|
|