Index: Source/core/rendering/RenderListItem.cpp |
diff --git a/Source/core/rendering/RenderListItem.cpp b/Source/core/rendering/RenderListItem.cpp |
index c08a8bf1a5d5ac89a2b0eff6566a98fc4fc7df37..241c771d80b0edbbd7301080d3814e7a094bfbbd 100644 |
--- a/Source/core/rendering/RenderListItem.cpp |
+++ b/Source/core/rendering/RenderListItem.cpp |
@@ -287,6 +287,10 @@ void RenderListItem::updateMarkerLocation() |
} |
if (markerParent != lineBoxParent || m_marker->preferredLogicalWidthsDirty()) { |
+ // FIXME: We should not modify the structure of the render tree |
+ // during layout. crbug.com/370461 |
+ DeprecatedDisableModifyRenderTreeStructureAsserts disabler; |
+ |
// Removing and adding the marker can trigger repainting in |
// containers other than ourselves, so we need to disable LayoutState. |
LayoutStateDisabler layoutStateDisabler(*this); |