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 60a3c3f2bd44ae491f482cf93d7c3b0f12028655..b18c797e6ed844e346b6d23b586ab4efcc5706b2 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp |
@@ -172,6 +172,7 @@ void LayoutTableRow::AddChild(LayoutObject* child, LayoutObject* before_child) { |
// neighboring cells. |
LayoutTable* enclosing_table = Table(); |
if (enclosing_table && enclosing_table->CollapseBorders()) { |
+ enclosing_table->InvalidateCollapsedBorders(); |
wkorman
2017/04/26 23:57:35
Would we consider further optimizing this case? We
Xianzhu
2017/04/27 15:43:40
This marks the table's collapsed borders data stru
|
if (LayoutTableCell* previous_cell = cell->PreviousCell()) |
previous_cell->SetNeedsLayoutAndPrefWidthsRecalc( |
LayoutInvalidationReason::kTableChanged); |