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 02d85b35ddad78418e190f0d4d2ab6d9051ee2fb..30d7d123bf181550649d20f8dd55109fd5fc3047 100644 |
--- a/third_party/WebKit/Source/core/paint/TablePaintInvalidator.cpp |
+++ b/third_party/WebKit/Source/core/paint/TablePaintInvalidator.cpp |
@@ -26,7 +26,7 @@ PaintInvalidationReason TablePaintInvalidator::invalidatePaintIfNeeded() { |
// If any col changed background, we'll check all cells for background |
// changes. |
bool hasColChangedBackground = false; |
- bool visualRectChanged = m_context.oldVisualRect != m_context.newVisualRect; |
+ bool visualRectChanged = m_context.oldVisualRect != m_table.visualRect(); |
for (LayoutTableCol* col = m_table.firstColumn(); col; |
col = col->nextColumn()) { |
// LayoutTableCol uses the table's localVisualRect(). Should check column |