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

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

Issue 508813002: Move ownership of the AppListViewDelegate into the AppListService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 6 years, 3 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_service_views.cc
diff --git a/chrome/browser/ui/app_list/app_list_service_views.cc b/chrome/browser/ui/app_list/app_list_service_views.cc
index 88fa4b8f0c1b6ba03341805fa82828f5fa6a62d8..b37d137eb5ce9c5485252194cff50b42d270fcd0 100644
--- a/chrome/browser/ui/app_list/app_list_service_views.cc
+++ b/chrome/browser/ui/app_list/app_list_service_views.cc
@@ -74,7 +74,6 @@ void AppListServiceViews::DestroyAppList() {
DCHECK(!shower_.HasView());
}
-AppListControllerDelegate*
-AppListServiceViews::GetControllerDelegateForCreate() {
- return controller_delegate_.get();
+AppListViewDelegate* AppListServiceViews::GetViewDelegateForCreate() {
+ return GetViewDelegate(shower_.profile());
}
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_views.h ('k') | chrome/browser/ui/app_list/app_list_shower_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698