Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: chrome/browser/tab_contents/background_contents.cc

Issue 6310008: Revert 71458 - Blow away BackgroundContents when RenderView goes away.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/background_contents.cc
===================================================================
--- chrome/browser/tab_contents/background_contents.cc (revision 71535)
+++ chrome/browser/tab_contents/background_contents.cc (working copy)
@@ -175,16 +175,6 @@
delete this;
}
-void BackgroundContents::RenderViewGone(RenderViewHost* rvh,
- base::TerminationStatus status,
- int error_code) {
- // Our RenderView went away, so we should go away also, so killing the process
- // via the TaskManager doesn't permanently leave a BackgroundContents hanging
- // around the system, blocking future instances from being created
- // (http://crbug.com/65189).
- delete this;
-}
-
RendererPreferences BackgroundContents::GetRendererPrefs(
Profile* profile) const {
RendererPreferences preferences;
« no previous file with comments | « chrome/browser/tab_contents/background_contents.h ('k') | chrome/browser/task_manager/task_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698