| Index: Source/core/rendering/RenderBlock.cpp
|
| diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
|
| index e7d0a624cd4f50502d71b566e11060620fd78bd5..25c4d2a6ee51a933700af5e15b0dabfed9b9ada1 100644
|
| --- a/Source/core/rendering/RenderBlock.cpp
|
| +++ b/Source/core/rendering/RenderBlock.cpp
|
| @@ -328,9 +328,6 @@
|
| {
|
| RenderBox::styleDidChange(diff, oldStyle);
|
|
|
| - if (isFloatingOrOutOfFlowPositioned() && oldStyle && !oldStyle->isFloating() && !oldStyle->hasOutOfFlowPosition() && parent() && parent()->isRenderBlockFlow())
|
| - toRenderBlock(parent())->removeAnonymousWrappersIfRequired();
|
| -
|
| RenderStyle* newStyle = style();
|
|
|
| if (!isAnonymousBlock()) {
|
| @@ -1078,21 +1075,6 @@
|
| // Make sure the types of the anonymous blocks match up.
|
| return prev->isAnonymousColumnsBlock() == next->isAnonymousColumnsBlock()
|
| && prev->isAnonymousColumnSpanBlock() == next->isAnonymousColumnSpanBlock();
|
| -}
|
| -
|
| -void RenderBlock::removeAnonymousWrappersIfRequired()
|
| -{
|
| - RenderBox* child = firstChildBox();
|
| - while (child && (child->isAnonymousBlock() || child->isFloatingOrOutOfFlowPositioned())) {
|
| - RenderBox* next = child->nextSiblingBox();
|
| - // A continuation means the wrappers are still required.
|
| - if (next && next->isRenderBlock() && toRenderBlock(next)->continuation())
|
| - return;
|
| - if (child->isAnonymousBlock())
|
| - collapseAnonymousBlockChild(this, toRenderBlock(child));
|
| - // |child| may have been destroyed.
|
| - child = next;
|
| - }
|
| }
|
|
|
| void RenderBlock::collapseAnonymousBlockChild(RenderBlock* parent, RenderBlock* child)
|
|
|