| Index: Source/core/rendering/RenderListItem.cpp
|
| diff --git a/Source/core/rendering/RenderListItem.cpp b/Source/core/rendering/RenderListItem.cpp
|
| index c08a8bf1a5d5ac89a2b0eff6566a98fc4fc7df37..ecada8126c8ff9026b42e78960ea467b8caef9c3 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 outside of
|
| + // recalc style. 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);
|
|
|