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

Unified Diff: third_party/WebKit/Source/core/paint/TablePaintInvalidator.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/TablePaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/TablePaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/TablePaintInvalidator.cpp
index 52a7dfa3e6a7adb418afc8fbe7a4ad84fe9c7a65..a473d5a69bb2b8d944b99ba0dfd028dfd0e89922 100644
--- a/third_party/WebKit/Source/core/paint/TablePaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/TablePaintInvalidator.cpp
@@ -21,7 +21,7 @@ PaintInvalidationReason TablePaintInvalidator::InvalidatePaint() {
// If any col changed background, we need to invalidate all sections because
// col background paints into section's background display item.
bool has_col_changed_background = false;
- if (table_.HasColElements()) {
+ if (table_.HasColOrColGroups()) {
bool visual_rect_changed = context_.old_visual_rect != table_.VisualRect();
for (LayoutTableCol* col = table_.FirstColumn(); col;
col = col->NextColumn()) {

Powered by Google App Engine
This is Rietveld 408576698