Index: Source/core/rendering/RenderObjectChildList.cpp |
diff --git a/Source/core/rendering/RenderObjectChildList.cpp b/Source/core/rendering/RenderObjectChildList.cpp |
index cade5feec4c92cf12bbcd8a0bdba0fc4063c543b..b084b3932d96d5b0fa9c550c3b62d0b42d5cf994 100644 |
--- a/Source/core/rendering/RenderObjectChildList.cpp |
+++ b/Source/core/rendering/RenderObjectChildList.cpp |
@@ -161,7 +161,8 @@ void RenderObjectChildList::insertChildNode(RenderObject* owner, RenderObject* n |
RenderCounter::rendererSubtreeAttached(newChild); |
} |
- newChild->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); |
+ newChild->setNeedsLayoutAndPrefWidthsRecalc(); |
+ newChild->setShouldDoFullPaintInvalidationWithReason(InvalidationRendererInsertion); |
if (!owner->normalChildNeedsLayout()) |
owner->setChildNeedsLayout(); // We may supply the static position for an absolute positioned child. |