--- old/modules/javafx.web/src/main/native/Source/WebCore/rendering/RenderListItem.cpp 2019-01-15 06:21:38.590012528 -0800 +++ new/modules/javafx.web/src/main/native/Source/WebCore/rendering/RenderListItem.cpp 2019-01-15 06:21:38.530012526 -0800 @@ -272,9 +272,9 @@ LayoutUnit markerOldLogicalLeft = m_marker->logicalLeft(); LayoutUnit blockOffset = 0; LayoutUnit lineOffset = 0; - for (RenderBox* o = m_marker->parentBox(); o != this; o = o->parentBox()) { - blockOffset += o->logicalTop(); - lineOffset += o->logicalLeft(); + for (auto* ancestor = m_marker->parentBox(); ancestor && ancestor != this; ancestor = ancestor->parentBox()) { + blockOffset += ancestor->logicalTop(); + lineOffset += ancestor->logicalLeft(); } bool adjustOverflow = false;