2011-02-06 Robert Hogan <robert@webkit.org>
[WebKit-https.git] / Tools / DumpRenderTree / qt / DumpRenderTreeQt.cpp
index ac5d9e74bebe6883fe8a2e414e128b33b3d5957c..b27a426f092f611197d77b1d2d110be8cdf5049c 100644 (file)
@@ -1084,9 +1084,6 @@ void DumpRenderTree::windowCloseRequested()
     QWebPage* page = qobject_cast<QWebPage*>(sender());
     QObject* container = page->parent();
     windows.removeAll(container);
     QWebPage* page = qobject_cast<QWebPage*>(sender());
     QObject* container = page->parent();
     windows.removeAll(container);
-    // Our use of container->deleteLater() means we need to remove closed pages
-    // from the org.webkit.qt.DumpRenderTree group explicitly.
-    DumpRenderTreeSupportQt::webPageSetGroupName(page, "");
     container->deleteLater();
 }
 
     container->deleteLater();
 }