Index: Source/core/rendering/RenderListItem.cpp |
diff --git a/Source/core/rendering/RenderListItem.cpp b/Source/core/rendering/RenderListItem.cpp |
index c08a8bf1a5d5ac89a2b0eff6566a98fc4fc7df37..0160661350e5594e43e3347dbdd30c754d2c6ec7 100644 |
--- a/Source/core/rendering/RenderListItem.cpp |
+++ b/Source/core/rendering/RenderListItem.cpp |
@@ -296,7 +296,10 @@ void RenderListItem::updateMarkerLocation() |
markerParent->dirtyLinesFromChangedChild(m_marker); |
if (!lineBoxParent) |
lineBoxParent = this; |
- lineBoxParent->addChild(m_marker, firstNonMarkerChild(lineBoxParent)); |
+ { |
+ DisableRenderObjectLifecycleAsserts disabler; |
+ lineBoxParent->addChild(m_marker, firstNonMarkerChild(lineBoxParent)); |
+ } |
m_marker->updateMarginsAndContent(); |
// If markerParent is an anonymous block that has lost all its children, destroy it. |
if (markerParent && markerParent->isAnonymousBlock() && !markerParent->firstChild() && !toRenderBlock(markerParent)->continuation()) |