summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-16 12:28:52 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-16 12:28:52 +0000
commit59b79c39253a2b805f8d0bddebdc6d16d95c16c3 (patch)
treedaf8d7e860889b18f1d910bd7e9813bed39ee5ba /chrome/browser/tab_contents
parentba0fb2308a5be6d27747ba67073a638598596566 (diff)
downloadchromium_src-59b79c39253a2b805f8d0bddebdc6d16d95c16c3.zip
chromium_src-59b79c39253a2b805f8d0bddebdc6d16d95c16c3.tar.gz
chromium_src-59b79c39253a2b805f8d0bddebdc6d16d95c16c3.tar.bz2
Revert 194345 "Explicitly free the web contents in the backgroun..."
> Explicitly free the web contents in the background contents destructor. > > This will help track down what's going on in crbug.com/164617 - is it a > double-free of the BackgroundContents, or an unexpected free of the WebContents? > > BUG=164617 > > Review URL: https://codereview.chromium.org/14234009 TBR=atwilson@chromium.org Review URL: https://codereview.chromium.org/14293005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194349 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/background_contents.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/background_contents.cc b/chrome/browser/tab_contents/background_contents.cc
index 18e837c..5f40758 100644
--- a/chrome/browser/tab_contents/background_contents.cc
+++ b/chrome/browser/tab_contents/background_contents.cc
@@ -57,8 +57,6 @@ BackgroundContents::BackgroundContents()
BackgroundContents::~BackgroundContents() {
if (!web_contents_.get()) // Will be null for unit tests.
return;
- // Manually clear web_contents_ to try to track down http://crbug.com/164617.
- web_contents_.reset();
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_BACKGROUND_CONTENTS_DELETED,
content::Source<Profile>(profile_),