Index: third_party/WebKit/Source/core/layout/LayoutTableCol.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp |
index 36ce08cb9b7188d09b9ff9fccdd0cbfae1b9d1ee..0b9dc04f761ee42f7ee913e045c07d4a2ef8f729 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp |
@@ -55,8 +55,9 @@ void LayoutTableCol::StyleDidChange(StyleDifference diff, |
if (!table) |
return; |
- LayoutTableBoxComponent::InvalidateCollapsedBordersOnStyleChange( |
- *this, *table, diff, *old_style); |
+ if (LayoutTableBoxComponent::NeedsInvalidateCollapsedBordersOnStyleChange( |
+ *this, *table, diff, *old_style)) |
+ table->SetNeedsInvalidateCollapsedBordersForAllCells(); |
if ((old_style->LogicalWidth() != Style()->LogicalWidth()) || |
LayoutTableBoxComponent::DoCellsHaveDirtyWidth(*this, *table, diff, |