REGRESSION (r167879): Heap-use-after-free in WebCore::RenderFlexibleBox
[WebKit-https.git] / Source / WebCore / rendering / RenderGrid.cpp
index 13ae483..9c17b09 100644 (file)
@@ -1186,6 +1186,12 @@ const char* RenderGrid::renderName() const
     return "RenderGrid";
 }
 
+void RenderGrid::removeChild(RenderObject& child)
+{
+    RenderBlock::removeChild(child);
+    m_orderIterator.invalidate();
+}
+
 } // namespace WebCore
 
 #endif /* ENABLE(CSS_GRID_LAYOUT) */