Index: Source/core/layout/LayoutMultiColumnFlowThread.cpp |
diff --git a/Source/core/layout/LayoutMultiColumnFlowThread.cpp b/Source/core/layout/LayoutMultiColumnFlowThread.cpp |
index 7707bbdf8cb47192251655d4677ad1d142fe6ae9..80850ec8c1f9e36dbf369fcceb8744162b1e462a 100644 |
--- a/Source/core/layout/LayoutMultiColumnFlowThread.cpp |
+++ b/Source/core/layout/LayoutMultiColumnFlowThread.cpp |
@@ -484,7 +484,7 @@ void LayoutMultiColumnFlowThread::flowThreadDescendantWasInserted(LayoutObject* |
// a new spanner placeholder between them. |
setToSplit = findSetRendering(previousRenderer); |
ASSERT(setToSplit == findSetRendering(nextRenderer)); |
- setToSplit->setNeedsLayoutAndFullPaintInvalidation(); |
+ setToSplit->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::ColumnsChanged); |
insertBefore = setToSplit->nextSiblingMultiColumnBox(); |
// We've found out which set that needs to be split. Now proceed to |
// inserting the spanner placeholder, and then insert a second column set. |
@@ -543,7 +543,7 @@ void LayoutMultiColumnFlowThread::flowThreadDescendantWillBeRemoved(LayoutObject |
&& previousColumnBox && previousColumnBox->isLayoutMultiColumnSet()) { |
// Need to merge two column sets. |
nextColumnBox->destroy(); |
- previousColumnBox->setNeedsLayout(); |
+ previousColumnBox->setNeedsLayout(LayoutInvalidationReason::ColumnsChanged); |
invalidateRegions(); |
} |
} |