Index: third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
index f56be8c7ac199afe4e9c992dbf9e58040c28da0a..1f42815aa7b3bca21ac7bc365202cb84c7242579 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
@@ -131,9 +131,8 @@ void LayoutTableSection::StyleDidChange(StyleDifference diff, |
if (!table) |
return; |
- if (!table->SelfNeedsLayout() && !table->NormalChildNeedsLayout() && |
- old_style->Border() != Style()->Border()) |
- table->InvalidateCollapsedBorders(); |
+ LayoutTableBoxComponent::InvalidateCollapsedBordersOnStyleChange( |
+ *this, *table, diff, *old_style); |
if (LayoutTableBoxComponent::DoCellsHaveDirtyWidth(*this, *table, diff, |
*old_style)) |