| Index: Source/core/rendering/RenderBlock.cpp
|
| diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
|
| index 785d6b1a6c034b0d4a165f59adbfb7a78295735b..165e0b2aefc23a1b4515d0e91d9c67cec4d762f4 100644
|
| --- a/Source/core/rendering/RenderBlock.cpp
|
| +++ b/Source/core/rendering/RenderBlock.cpp
|
| @@ -49,6 +49,7 @@
|
| #include "core/rendering/RenderDeprecatedFlexibleBox.h"
|
| #include "core/rendering/RenderFlexibleBox.h"
|
| #include "core/rendering/RenderFlowThread.h"
|
| +#include "core/rendering/RenderGrid.h"
|
| #include "core/rendering/RenderInline.h"
|
| #include "core/rendering/RenderLayer.h"
|
| #include "core/rendering/RenderMarquee.h"
|
| @@ -1057,6 +1058,10 @@ void RenderBlock::removeLeftoverAnonymousBlock(RenderBlock* child)
|
| // Remove all the information in the flow thread associated with the leftover anonymous block.
|
| child->removeFromRenderFlowThread();
|
|
|
| + // RenderGrid keeps track of its children, we must notify it about changes in the tree.
|
| + if (child->parent()->isRenderGrid())
|
| + toRenderGrid(child->parent())->dirtyGrid();
|
| +
|
| child->setParent(0);
|
| child->setPreviousSibling(0);
|
| child->setNextSibling(0);
|
|
|