Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index c4517820ca48f1c3fde44c8984701c812866eec6..aa3aa7c9990aefd910ef72a60242b5bc7960a5b2 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -2402,6 +2402,9 @@ void RenderObject::insertedIntoTree() |
if (!isFloating() && parent()->childrenInline()) |
parent()->dirtyLinesFromChangedChild(this); |
+ |
+ if (RenderFlowThread* flowThread = parent()->flowThreadContainingBlock()) |
+ flowThread->flowThreadDescendantWasInserted(this); |
} |
void RenderObject::willBeRemovedFromTree() |
@@ -2451,7 +2454,6 @@ void RenderObject::removeFromRenderFlowThreadRecursive(RenderFlowThread* renderF |
for (RenderObject* child = children->firstChild(); child; child = child->nextSibling()) |
child->removeFromRenderFlowThreadRecursive(renderFlowThread); |
} |
- |
setFlowThreadState(NotInsideFlowThread); |
} |