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 923dc90dfa4b8e72c60c0c68641c9c16ad62ca46..b8c5b92157a3238e3777371fc5eb110e224fe7d3 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp |
@@ -19,6 +19,7 @@ void LayoutTableBoxComponent::InvalidateCollapsedBordersOnStyleChange( |
return; |
if (old_style.Border() != table_part.StyleRef().Border() || |
!old_style.RadiiEqual(table_part.StyleRef()) || |
+ !old_style.BorderSizeEquals(table_part.StyleRef()) || |
(diff.TextDecorationOrColorChanged() && |
table_part.StyleRef().HasBorderColorReferencingCurrentColor())) |
table.InvalidateCollapsedBorders(); |
@@ -37,7 +38,7 @@ bool LayoutTableBoxComponent::DoCellsHaveDirtyWidth( |
// tablePart.needsLayout(). |
return diff.NeedsFullLayout() && table_part.NeedsLayout() && |
table.ShouldCollapseBorders() && |
- !old_style.Border().SizeEquals(table_part.Style()->Border()); |
+ !old_style.BorderSizeEquals(*table_part.Style()); |
} |
void LayoutTableBoxComponent::MutableForPainting::UpdatePaintResult( |