Index: Source/core/rendering/RenderObjectChildList.cpp |
diff --git a/Source/core/rendering/RenderObjectChildList.cpp b/Source/core/rendering/RenderObjectChildList.cpp |
index 1dffa35a0acd7124ec80a57b429e06be3c33c095..1e2f184f6048de4c19514a15c32605af1f8e61cb 100644 |
--- a/Source/core/rendering/RenderObjectChildList.cpp |
+++ b/Source/core/rendering/RenderObjectChildList.cpp |
@@ -64,7 +64,7 @@ RenderObject* RenderObjectChildList::removeChildNode(RenderObject* owner, Render |
// that a positioned child got yanked). We also repaint, so that the area exposed when the child |
// disappears gets repainted properly. |
if (!owner->documentBeingDestroyed() && notifyRenderer && oldChild->everHadLayout()) { |
- oldChild->setNeedsLayoutAndPrefWidthsRecalc(); |
+ oldChild->setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint(); |
// We only repaint |oldChild| if we have a RenderLayer as its visual overflow may not be tracked by its parent. |
if (oldChild->isBody()) |
owner->view()->repaint(); |
@@ -158,7 +158,7 @@ void RenderObjectChildList::insertChildNode(RenderObject* owner, RenderObject* n |
RenderCounter::rendererSubtreeAttached(newChild); |
} |
- newChild->setNeedsLayoutAndPrefWidthsRecalc(); |
+ newChild->setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint(); |
if (!owner->normalChildNeedsLayout()) |
owner->setChildNeedsLayout(); // We may supply the static position for an absolute positioned child. |