Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
index a6f845941eaaee947c68515fe29fc3273ab92a03..d83f1633504c0f04c338ede0370b2395be6c27fd 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -439,6 +439,8 @@ void LayoutBoxModelObject::setBackingNeedsPaintInvalidationInRect(const LayoutRe |
// rather than updating the entire rect. |
const LayoutRect& scrollingContentsRect = toLayoutBox(this)->layoutOverflowRect(); |
layer()->compositedLayerMapping()->setScrollingContentsNeedDisplayInRect(scrollingContentsRect, invalidationReason, object); |
+ layer()->setNeedsRepaint(); |
chrishtr
2016/08/22 17:34:54
Why is this line needed?
wkorman
2016/08/22 17:42:27
Copying my comment from https://codereview.chromiu
chrishtr
2016/08/22 17:46:33
No it's ok I think. Thanks for the context.
|
+ invalidateDisplayItemClient(*layer()->compositedLayerMapping()->scrollingContentsLayer(), invalidationReason); |
} |
layer()->compositedLayerMapping()->setNonScrollingContentsNeedDisplayInRect(r, invalidationReason, object); |
} else { |