| Index: sky/engine/core/rendering/RenderObjectChildList.cpp
|
| diff --git a/sky/engine/core/rendering/RenderObjectChildList.cpp b/sky/engine/core/rendering/RenderObjectChildList.cpp
|
| index 66f470516e739f0e26626e54186f68f9ba7dbb52..97b10ed22661aacee6b77e475aa694170953e175 100644
|
| --- a/sky/engine/core/rendering/RenderObjectChildList.cpp
|
| +++ b/sky/engine/core/rendering/RenderObjectChildList.cpp
|
| @@ -58,10 +58,8 @@ RenderObject* RenderObjectChildList::removeChildNode(RenderObject* owner, Render
|
| // So that we'll get the appropriate dirty bit set (either that a normal flow child got yanked or
|
| // that a positioned child got yanked). We also issue paint invalidations, so that the area exposed when the child
|
| // disappears gets paint invalidated properly.
|
| - if (!owner->documentBeingDestroyed() && notifyRenderer && oldChild->everHadLayout()) {
|
| + if (!owner->documentBeingDestroyed() && notifyRenderer && oldChild->everHadLayout())
|
| oldChild->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
|
| - oldChild->invalidatePaintForWholeRenderer();
|
| - }
|
| }
|
|
|
| // If we have a line box wrapper, delete it.
|
|
|