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

Unified Diff: chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc

Issue 1637943003: Remove HostDesktopType from BrowserList::GetInstance() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screen-wrapper-land
Patch Set: mac2 Created 4 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/multi_user/multi_user_window_manager_chromeos.cc
diff --git a/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc b/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc
index febe3eaa1d88df59f9fc7df29eb1108f17d620b3..bef7236f5695bf21d71ac30fff8af0385b574c1e 100644
--- a/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc
+++ b/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc
@@ -432,7 +432,7 @@ void MultiUserWindowManagerChromeOS::AddUser(content::BrowserContext* context) {
account_id_to_app_observer_[account_id]->OnAppWindowAdded(*it);
// Account all existing browser windows of this user accordingly.
- BrowserList* browser_list = BrowserList::GetInstance(HOST_DESKTOP_TYPE_ASH);
+ BrowserList* browser_list = BrowserList::GetInstance();
BrowserList::const_iterator browser_it = browser_list->begin();
for (; browser_it != browser_list->end(); ++browser_it) {
if ((*browser_it)->profile()->GetOriginalProfile() == profile)
« no previous file with comments | « chrome/browser/ui/ash/metrics/chrome_user_metrics_recorder.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698