Reviewed and landed by Anders.
[WebKit-https.git] / WebKitTools / DumpRenderTree / DumpRenderTree.qtproj / DumpRenderTree.cpp
index 3a98d9dbcb36e2abb3af2200ff6f07ec8a3cbced..d1e7b1ba7fea568423f8abddf4786aaf4e2e37cc 100644 (file)
@@ -64,8 +64,6 @@ DumpRenderTree::DumpRenderTree()
     Page* page = new Page(new ChromeClientQt());
     m_frame = new FrameQt(page, 0, m_client);
 
     Page* page = new Page(new ChromeClientQt());
     m_frame = new FrameQt(page, 0, m_client);
 
-    page->setMainFrame(m_frame);
-
     FrameView* view = new FrameView(m_frame);
     view->setScrollbarsMode(ScrollbarAlwaysOff);
 
     FrameView* view = new FrameView(m_frame);
     view->setScrollbarsMode(ScrollbarAlwaysOff);