| Index: Source/core/rendering/RenderObject.cpp
|
| diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
|
| index ade24833002626b55b6ec9a6bf42e23f145039b4..31ef55b2640d041f77aa202fa76652f8aeadb880 100644
|
| --- a/Source/core/rendering/RenderObject.cpp
|
| +++ b/Source/core/rendering/RenderObject.cpp
|
| @@ -2400,7 +2400,10 @@ void RenderObject::destroyAndCleanupAnonymousWrappers()
|
| // Anonymous block continuations are tracked and destroyed elsewhere (see the bottom of RenderBlock::removeChild)
|
| if (destroyRootParent->isRenderBlock() && toRenderBlock(destroyRootParent)->isAnonymousBlockContinuation())
|
| break;
|
| - // Column spans are tracked elsewhere, so we can't destroy them here.
|
| + // A flow thread is tracked by its containing block. Whether its children are removed or not is irrelevant.
|
| + if (destroyRootParent->isRenderFlowThread())
|
| + break;
|
| + // Column spans are tracked elsewhere.
|
| if (destroyRootParent->isAnonymousColumnSpanBlock())
|
| break;
|
|
|
|
|