Index: Source/core/layout/LayoutTable.cpp |
diff --git a/Source/core/layout/LayoutTable.cpp b/Source/core/layout/LayoutTable.cpp |
index fbd8a083f42a94975e9793a3f77dba110a2f8b07..9a3e513fe7820061bea021fbc49306ba14fbbe6a 100644 |
--- a/Source/core/layout/LayoutTable.cpp |
+++ b/Source/core/layout/LayoutTable.cpp |
@@ -446,7 +446,7 @@ void LayoutTable::layout() |
if (logicalWidth() != oldLogicalWidth) { |
for (unsigned i = 0; i < m_captions.size(); i++) |
- layouter.setNeedsLayout(m_captions[i]); |
+ layouter.setNeedsLayout(m_captions[i], LayoutInvalidationReason::TableChanged); |
} |
// FIXME: The optimisation below doesn't work since the internal table |
// layout could have changed. We need to add a flag to the table |