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

Unified Diff: chrome/browser/ui/app_list/app_list_syncable_service.cc

Issue 308003005: app_list: Drive app integration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: format Created 6 years, 7 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
Index: chrome/browser/ui/app_list/app_list_syncable_service.cc
diff --git a/chrome/browser/ui/app_list/app_list_syncable_service.cc b/chrome/browser/ui/app_list/app_list_syncable_service.cc
index 9983c6bdc3a19a94dad7d10fe451e3f5d762f9b4..8f746622fcadab68bd32a481a5218a3af1e7c0ef 100644
--- a/chrome/browser/ui/app_list/app_list_syncable_service.cc
+++ b/chrome/browser/ui/app_list/app_list_syncable_service.cc
@@ -243,6 +243,12 @@ void AppListSyncableService::BuildModel() {
}
}
+void AppListSyncableService::Shutdown() {
+ // DriveAppProvider in |apps_builder_| touches other KeyedServices in
+ // dtor and needs be released in shutdown stage.
+ apps_builder_.reset();
+}
+
void AppListSyncableService::Observe(
int type,
const content::NotificationSource& source,

Powered by Google App Engine
This is Rietveld 408576698