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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate.cc

Issue 11968034: Enable profile switching for standalone App Launcher via the Settings App. (Closed) Base URL: git://nomatter.syd/chromium/src.git@master
Patch Set: respond to comments Created 7 years, 11 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/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
index d994640b113149352234cd54a501ca469ee398e6..a91bc3439d0810eb073fb6badbdb9226acd6c004 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -414,7 +414,8 @@ app_list::AppListViewDelegate*
DCHECK(ash::Shell::HasInstance());
// Shell will own the created delegate, and the delegate will own
// the controller.
- return new AppListViewDelegate(new AppListControllerDelegateAsh());
+ Profile* profile = ProfileManager::GetDefaultProfileOrOffTheRecord();
+ return new AppListViewDelegate(new AppListControllerDelegateAsh(), profile);
}
ash::LauncherDelegate* ChromeShellDelegate::CreateLauncherDelegate(

Powered by Google App Engine
This is Rietveld 408576698