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

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

Issue 1955073002: LayoutObject::paintingLayer() to correctly handle column-span:all (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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..dd5530407f85345862ddb6040de5cd5eb7935732 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -1421,7 +1421,7 @@ PaintInvalidationReason LayoutTable::invalidatePaintIfNeeded(const PaintInvalida
// Do it now instead of during painting to invalidate table cells if needed.
recalcCollapsedBordersIfNeeded();
if (collapseBorders() && !m_collapsedBorders.isEmpty())
- paintInvalidationState.enclosingSelfPaintingLayer(*this).setNeedsPaintPhaseDescendantBlockBackgrounds();
+ paintInvalidationState.paintingLayer().setNeedsPaintPhaseDescendantBlockBackgrounds();
return LayoutBlock::invalidatePaintIfNeeded(paintInvalidationState);
}

Powered by Google App Engine
This is Rietveld 408576698