Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp

Issue 1511143002: Reland of Fix several corner case issues of scrollbar paint invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()) {

Powered by Google App Engine
This is Rietveld 408576698