diff options
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r-- | chrome/browser/tab_contents/interstitial_page.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/tab_contents/interstitial_page.cc b/chrome/browser/tab_contents/interstitial_page.cc index 0dbe26a..3c3226b 100644 --- a/chrome/browser/tab_contents/interstitial_page.cc +++ b/chrome/browser/tab_contents/interstitial_page.cc @@ -200,9 +200,6 @@ void InterstitialPage::Show() { } void InterstitialPage::Hide() { - // Show the original RVH since we're going away. - tab_->render_view_host()->view()->Show(); - render_view_host_->Shutdown(); render_view_host_ = NULL; if (tab_->interstitial_page()) @@ -386,9 +383,6 @@ void InterstitialPage::DidNavigate( if (tab_->render_view_host()->view()->HasFocus()) Focus(); - // Hide the original RVH since we're showing the interstitial instead. - tab_->render_view_host()->view()->Hide(); - // Notify the tab we are not loading so the throbber is stopped. It also // causes a NOTIFY_LOAD_STOP notification, that the AutomationProvider (used // by the UI tests) expects to consider a navigation as complete. Without |