Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp |
index b3bb5511694b3d2035c40d8b161464fde62481ca..b55416e2436510b59648d9601cbd723d6e4a0b17 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp |
@@ -333,11 +333,11 @@ |
static void forceRecomputePaintInvalidationRectsIncludingNonCompositingDescendants(LayoutObject* layoutObject) |
{ |
- // We clear the previous paint invalidation rect as it's wrong (paint invaliation container |
+ // We clear the previous paint invalidation rect as it's wrong (paint invalidation container |
// changed, ...). Forcing a full invalidation will make us recompute it. Also we are not |
// changing the previous position from our paint invalidation container, which is fine as |
// we want a full paint invalidation anyway. |
- layoutObject->setPreviousPaintInvalidationRect(LayoutRect()); |
+ layoutObject->clearPreviousPaintInvalidationRects(); |
layoutObject->setShouldDoFullPaintInvalidation(); |
for (LayoutObject* child = layoutObject->slowFirstChild(); child; child = child->nextSibling()) { |