Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index cb9dffd1e206af266b3f435d6af72c157767036f..bfe3e858b0b388cdf947adaf399c80678f23a111 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1540,11 +1540,6 @@ void WebViewImpl::close() |
if (m_page) { |
// Initiate shutdown for the entire frameset. This will cause a lot of |
// notifications to be sent. |
- // FIXME: This is redundant with willBeDestroyed()... is this really |
- // needed? |
- if (m_page->mainFrame()->isLocalFrame()) |
- m_page->deprecatedLocalMainFrame()->loader().frameDetached(); |
- |
m_page->willBeDestroyed(); |
m_page.clear(); |
} |