| Index: Source/WebCore/rendering/RenderObject.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderObject.cpp (revision 143085)
|
| +++ Source/WebCore/rendering/RenderObject.cpp (working copy)
|
| @@ -2391,11 +2391,6 @@
|
| if (AXObjectCache::accessibilityEnabled())
|
| document()->axObjectCache()->remove(this);
|
|
|
| - // Continuation and first-letter can generate several renderers associated with a single node.
|
| - // We only want to clear the node's renderer if we are the associated renderer.
|
| - if (node() && node()->renderer() == this)
|
| - node()->setRenderer(0);
|
| -
|
| #ifndef NDEBUG
|
| if (!documentBeingDestroyed() && view() && view()->hasRenderNamedFlowThreads()) {
|
| // After remove, the object and the associated information should not be in any flow thread.
|
| @@ -2529,18 +2524,6 @@
|
| break;
|
| }
|
|
|
| - // We repaint, so that the area exposed when this object disappears gets repainted properly.
|
| - // FIXME: A RenderObject with RenderLayer should probably repaint through it as getting the
|
| - // repaint rects is O(1) through a RenderLayer (assuming it's up-to-date).
|
| - if (destroyRoot->everHadLayout()) {
|
| - if (destroyRoot->isBody())
|
| - destroyRoot->view()->repaint();
|
| - else {
|
| - destroyRoot->repaint();
|
| - destroyRoot->repaintOverhangingFloats(true);
|
| - }
|
| - }
|
| -
|
| destroyRoot->destroy();
|
|
|
| // WARNING: |this| is deleted here.
|
|
|