Index: Source/core/rendering/RenderTableRow.cpp |
diff --git a/Source/core/rendering/RenderTableRow.cpp b/Source/core/rendering/RenderTableRow.cpp |
index f39617bec1ea87ac854491d08c314d3ad02b4701..452e866e4b0ba351ca440c23dbac0a6c124680d7 100644 |
--- a/Source/core/rendering/RenderTableRow.cpp |
+++ b/Source/core/rendering/RenderTableRow.cpp |
@@ -79,7 +79,7 @@ void RenderTableRow::styleDidChange(StyleDifference diff, const RenderStyle* old |
if (table && !table->selfNeedsLayout() && !table->normalChildNeedsLayout() && oldStyle && oldStyle->border() != style()->border()) |
table->invalidateCollapsedBorders(); |
- if (table && oldStyle && diff == StyleDifferenceLayout && needsLayout() && table->collapseBorders() && borderWidthChanged(oldStyle, style())) { |
+ if (table && oldStyle && diff.needsFullLayout() && needsLayout() && table->collapseBorders() && borderWidthChanged(oldStyle, style())) { |
// If the border width changes on a row, we need to make sure the cells in the row know to lay out again. |
// This only happens when borders are collapsed, since they end up affecting the border sides of the cell |
// itself. |