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 7df3acb58c0067948b552dde43cfbebcf045faae..a2b8f5d5a253ddc953d75c7d6270bb10bb158fa0 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp |
@@ -170,7 +170,7 @@ void LayoutTableRow::AddChild(LayoutObject* child, LayoutObject* before_child) { |
// When borders collapse, adding a cell can affect the the width of |
// neighboring cells. |
LayoutTable* enclosing_table = Table(); |
- if (enclosing_table && enclosing_table->CollapseBorders()) { |
+ if (enclosing_table && enclosing_table->ShouldCollapseBorders()) { |
enclosing_table->InvalidateCollapsedBorders(); |
if (LayoutTableCell* previous_cell = cell->PreviousCell()) |
previous_cell->SetNeedsLayoutAndPrefWidthsRecalc( |