diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-24 20:56:45 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-24 20:56:45 +0000 |
commit | 92673f391bfc070e0495bce0fca4769665e7b50e (patch) | |
tree | 5328feddc050ade52f9ef4c94c625a2bd74a8062 /chrome/views/window_delegate.cc | |
parent | 8bbab028452dfe334bad005cba3a318d6c56cc76 (diff) | |
download | chromium_src-92673f391bfc070e0495bce0fca4769665e7b50e.zip chromium_src-92673f391bfc070e0495bce0fca4769665e7b50e.tar.gz chromium_src-92673f391bfc070e0495bce0fca4769665e7b50e.tar.bz2 |
Fix task manager crash by releasing the delegate's scoped_ptr back to the window when the window is destroyed, not when the window delegate is destroyed, since some use cases recycle the delegate.
B=1333829
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1297 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/window_delegate.cc')
-rw-r--r-- | chrome/views/window_delegate.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/views/window_delegate.cc b/chrome/views/window_delegate.cc index f6021e0..d93a7bd 100644 --- a/chrome/views/window_delegate.cc +++ b/chrome/views/window_delegate.cc @@ -14,7 +14,6 @@ WindowDelegate::WindowDelegate() { } WindowDelegate::~WindowDelegate() { - window_.release(); } // Returns the icon to be displayed in the window. |