Index: Source/core/rendering/RenderObjectChildList.cpp |
diff --git a/Source/core/rendering/RenderObjectChildList.cpp b/Source/core/rendering/RenderObjectChildList.cpp |
index 89394275a56b8d10b14fd69daaea86e73d6143f4..6fd0358266b0a134adb9e5e3f7c88523e8c814b3 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->setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint(); |
+ oldChild->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); |
// 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()->paintInvalidationForWholeRenderer(); |
@@ -158,7 +158,7 @@ void RenderObjectChildList::insertChildNode(RenderObject* owner, RenderObject* n |
RenderCounter::rendererSubtreeAttached(newChild); |
} |
- newChild->setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint(); |
+ newChild->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); |
if (!owner->normalChildNeedsLayout()) |
owner->setChildNeedsLayout(); // We may supply the static position for an absolute positioned child. |