Chromium Code Reviews| Index: chrome/browser/ui/views/frame/browser_view.cc |
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc |
| index b184e79976eb2eb60b967db3bf5022f4e9a94be1..c180158a60f655517894e5ce20e026aca1902811 100644 |
| --- a/chrome/browser/ui/views/frame/browser_view.cc |
| +++ b/chrome/browser/ui/views/frame/browser_view.cc |
| @@ -952,6 +952,8 @@ void BrowserView::DestroyBrowser() { |
| // worry about the BookmarkBarView potentially outliving the Browser & |
| // Profile. |
| bookmark_bar_view_.reset(); |
| + // Ditto for DownloadShelfView. |
| + download_shelf_.reset(); |
|
Ben Goodger (Google)
2011/06/01 20:47:50
My question is - what other views are there that t
asanka
2011/06/01 21:06:42
This is called by BrowserList::CloseAllBrowsers(),
|
| browser_.reset(); |
| } |