Index: chrome/browser/ui/sad_tab_helper.cc |
diff --git a/chrome/browser/ui/sad_tab_helper.cc b/chrome/browser/ui/sad_tab_helper.cc |
index bc409bcd051b6945fae9b17589a88b1d3006eb83..2e502d7fe2f983a1c74cc977a3aa8b2069f22b0d 100644 |
--- a/chrome/browser/ui/sad_tab_helper.cc |
+++ b/chrome/browser/ui/sad_tab_helper.cc |
@@ -41,10 +41,7 @@ SadTabHelper::SadTabHelper(content::WebContents* web_contents) |
} |
void SadTabHelper::RenderViewReady() { |
- if (sad_tab_) { |
- sad_tab_->Close(); |
- sad_tab_.reset(); |
- } |
+ sad_tab_.reset(); |
} |
void SadTabHelper::RenderProcessGone(base::TerminationStatus status) { |
@@ -64,5 +61,4 @@ void SadTabHelper::RenderProcessGone(base::TerminationStatus status) { |
void SadTabHelper::InstallSadTab(base::TerminationStatus status) { |
sad_tab_.reset(chrome::SadTab::Create( |
web_contents(), SadTabKindFromTerminationStatus(status))); |
- sad_tab_->Show(); |
} |