Index: chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc |
diff --git a/chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc b/chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc |
index 6a8dd28ac328bda64a87a3b2fe5544619a9401f3..3035cc66a30320c6d753aad81a0845568677c184 100644 |
--- a/chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc |
+++ b/chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc |
@@ -98,10 +98,10 @@ void MobileSetupDialogDelegate::ShowDialog(const std::string& service_path) { |
if (login_view) |
parent = login_view->GetNativeWindow(); |
} |
- |
+ // Only the primary user can change this. |
Nikita (slow)
2013/12/23 12:12:22
nit: Are you sure that this is enforced?
Mr4D (OOO till 08-26)
2014/01/07 23:29:35
Since we use the primary's settings here any user
|
dialog_window_ = chrome::ShowWebDialog( |
parent, |
- ProfileManager::GetDefaultProfileOrOffTheRecord(), |
+ ProfileManager::GetPrimaryUserProfile(), |
this); |
} |