Index: third_party/WebKit/Source/core/layout/LayoutTableRow.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp |
index 43ce12391cd7475975a611403da06c4e93aa3c6a..60a3c3f2bd44ae491f482cf93d7c3b0f12028655 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp |
@@ -71,9 +71,8 @@ void LayoutTableRow::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)) { |