| Index: chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.cc b/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| index af012b2907019a935f8a740d7c3db45874cb71fb..ab45f723469f82ae5d7ff684a9e6b21cbfd06725 100644
|
| --- a/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| @@ -646,6 +646,9 @@ void AppListViewDelegate::Observe(int type,
|
| const content::NotificationDetails& details) {
|
| switch (type) {
|
| case chrome::NOTIFICATION_APP_TERMINATING:
|
| + FOR_EACH_OBSERVER(
|
| + app_list::AppListViewDelegateObserver, observers_, OnShutdown());
|
| +
|
| SetProfile(NULL); // Ensures launcher page web contents are torn down.
|
|
|
| // SigninManagerFactory is not a leaky singleton (unlike this class), and
|
|
|