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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_service_ash.cc

Issue 492163002: Fix Profile* lifetime issues in Chrome's AppListViewDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reorder functions for a neater diff Created 6 years, 4 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
« no previous file with comments | « chrome/browser/ui/ash/app_list/app_list_service_ash.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/app_list/app_list_service_ash.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_service_ash.cc b/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
index 59f599a75d02236193745cc47178f8f7d55eda14..7f856e4e7261fc871bacddcd6c987ed3130ddb5a 100644
--- a/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
@@ -63,6 +63,12 @@ AppListControllerDelegate* AppListServiceAsh::GetControllerDelegate() {
return controller_delegate_.get();
}
+void AppListServiceAsh::DestroyAppList() {
+ // On Ash, the app list is torn down whenever it is dismissed, so just ensure
+ // that it is dismissed.
+ DismissAppList();
+}
+
// Windows and Linux Ash additionally supports a native UI. See
// app_list_service_{win,linux}.cc.
#if defined(OS_CHROMEOS)
« no previous file with comments | « chrome/browser/ui/ash/app_list/app_list_service_ash.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698