Index: Source/core/rendering/InlineFlowBox.cpp |
diff --git a/Source/core/rendering/InlineFlowBox.cpp b/Source/core/rendering/InlineFlowBox.cpp |
index d2ca4d8e105efb0c9c4e076f5cf15b717d8fdbdb..5a263d9ab993ecbce0e9aede687c746789aa5438 100644 |
--- a/Source/core/rendering/InlineFlowBox.cpp |
+++ b/Source/core/rendering/InlineFlowBox.cpp |
@@ -177,11 +177,11 @@ void InlineFlowBox::addToLine(InlineBox* child) |
checkConsistency(); |
} |
-void InlineFlowBox::removeChild(InlineBox* child) |
+void InlineFlowBox::removeChild(InlineBox* child, MarkLineBoxes markDirty) |
{ |
checkConsistency(); |
- if (!isDirty()) |
+ if (markDirty == MarkLineBoxesDirty && !isDirty()) |
dirtyLineBoxes(); |
root().childRemoved(child); |