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

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 134171ae6b7d80aa753585d5f048ea073d0b6afd..751894385f45d0bb12d9217c12778e52aa177331 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()
chrishtr 2016/05/09 22:20:42 Why the change here?
+ || (columnGroup && columnGroup->shouldDoFullPaintInvalidation())
|| (column && column->shouldDoFullPaintInvalidation())
|| section->shouldDoFullPaintInvalidation()) {
section->invalidateDisplayItemClient(*cell);

Powered by Google App Engine
This is Rietveld 408576698