summaryrefslogtreecommitdiffstats
path: root/WebCore/page/FrameTree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/FrameTree.cpp')
-rw-r--r--WebCore/page/FrameTree.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/WebCore/page/FrameTree.cpp b/WebCore/page/FrameTree.cpp
index c9b4172..adb5c90 100644
--- a/WebCore/page/FrameTree.cpp
+++ b/WebCore/page/FrameTree.cpp
@@ -82,10 +82,6 @@ void FrameTree::appendChild(PassRefPtr<Frame> child)
void FrameTree::removeChild(Frame* child)
{
child->tree()->m_parent = 0;
- child->setView(0);
- if (child->ownerElement())
- child->page()->decrementFrameCount();
- child->pageDestroyed();
// Slightly tricky way to prevent deleting the child until we are done with it, w/o
// extra refs. These swaps leave the child in a circular list by itself. Clearing its