| Index: Source/WebCore/rendering/RenderBox.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderBox.cpp (revision 126659)
|
| +++ Source/WebCore/rendering/RenderBox.cpp (working copy)
|
| @@ -175,12 +175,8 @@
|
| }
|
| }
|
|
|
| - if (isOutOfFlowPositioned()) {
|
| - for (RenderObject* curr = parent(); curr; curr = curr->parent()) {
|
| - if (curr->isRenderBlock())
|
| - toRenderBlock(curr)->removePositionedObject(this);
|
| - }
|
| - }
|
| + if (isOutOfFlowPositioned())
|
| + RenderBlock::removePositionedObject(this);
|
| }
|
|
|
| void RenderBox::styleWillChange(StyleDifference diff, const RenderStyle* newStyle)
|
|
|