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()) { |