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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.cpp

Issue 1950573003: Improve handling of PaintInvalidationLayer (renamed to PaintInvalidationSubtree) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@LocationChange
Patch Set: Created 4 years, 7 months 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/LayoutTable.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index dd5530407f85345862ddb6040de5cd5eb7935732..a8374055f0fff78755a149b97dd475423b3aa86f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -1442,7 +1442,8 @@ void LayoutTable::invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState
// Table cells paint container's background on the container's backing instead of its own (if any),
// so we must invalidate it by the containers.
bool invalidated = false;
- if ((columnGroup && columnGroup->shouldDoFullPaintInvalidation())
+ if (childPaintInvalidationState.forcedSubtreeFullInvalidationWithinContainer()
+ || (columnGroup && columnGroup->shouldDoFullPaintInvalidation())
|| (column && column->shouldDoFullPaintInvalidation())
|| section->shouldDoFullPaintInvalidation()) {
section->invalidateDisplayItemClient(*cell);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/PaintInvalidationState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698