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

Unified Diff: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp

Issue 2884573002: Replace LayoutTableCell::AbsoluteColumnIndex() with EffectiveColumnIndex()
Patch Set: - Created 3 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/paint/PaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
index 5cc93b1683506567ed99956bed6803f0b730b0dc..ea6e371d08b20395d70883ce8206975f8dc0df77 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
@@ -235,7 +235,7 @@ void PaintInvalidator::UpdatePaintingLayer(const LayoutObject& object,
if (object.IsTableSection()) {
const auto& section = ToLayoutTableSection(object);
- if (section.Table()->HasColElements())
+ if (section.Table()->HasColOrColGroups())
context.painting_layer->SetNeedsPaintPhaseDescendantBlockBackgrounds();
}

Powered by Google App Engine
This is Rietveld 408576698