| Index: third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp b/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
|
| index f48eca2513c8176d9edf4e1affcb0fc5e4ab3df6..ab978d3850623979bced6215999b86221d44b430 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
|
| @@ -15,7 +15,7 @@ void LayoutTableBoxComponent::InvalidateCollapsedBordersOnStyleChange(
|
| LayoutTable& table,
|
| const StyleDifference& diff,
|
| const ComputedStyle& old_style) {
|
| - if (!table.CollapseBorders())
|
| + if (!table.ShouldCollapseBorders())
|
| return;
|
| if (old_style.Border() != table_part.StyleRef().Border() ||
|
| (diff.TextDecorationOrColorChanged() &&
|
| @@ -35,7 +35,7 @@ bool LayoutTableBoxComponent::DoCellsHaveDirtyWidth(
|
| // optimization but now it seems that diff.needsFullLayout() implies
|
| // tablePart.needsLayout().
|
| return diff.NeedsFullLayout() && table_part.NeedsLayout() &&
|
| - table.CollapseBorders() &&
|
| + table.ShouldCollapseBorders() &&
|
| !old_style.Border().SizeEquals(table_part.Style()->Border());
|
| }
|
|
|
|
|