Index: Source/core/rendering/RenderGrid.cpp |
diff --git a/Source/core/rendering/RenderGrid.cpp b/Source/core/rendering/RenderGrid.cpp |
index b1e831240b2e1e55e831c7cbac4648d30f29677d..a93d2f83d8857b505951283bc33cc35aa0ede5a8 100644 |
--- a/Source/core/rendering/RenderGrid.cpp |
+++ b/Source/core/rendering/RenderGrid.cpp |
@@ -252,6 +252,13 @@ void RenderGrid::computePreferredLogicalWidths() |
setPreferredLogicalWidthsDirty(false); |
} |
+void RenderGrid::removeChild(RenderObject* child) |
+{ |
+ m_orderIterator.invalidate(); |
+ |
+ RenderBlock::removeChild(child); |
+} |
+ |
LayoutUnit RenderGrid::computePreferredTrackWidth(const GridLength& gridLength, size_t trackIndex) const |
{ |
if (gridLength.isFlex()) |