| Index: chrome/browser/profiles/avatar_menu_actions_desktop.cc
|
| diff --git a/chrome/browser/profiles/avatar_menu_actions_desktop.cc b/chrome/browser/profiles/avatar_menu_actions_desktop.cc
|
| index faba359a7e2f79a15aff561dddc817c03db6f70e..3a3a87294dd4c1b0d43623ad218cfb4afdf58bac 100644
|
| --- a/chrome/browser/profiles/avatar_menu_actions_desktop.cc
|
| +++ b/chrome/browser/profiles/avatar_menu_actions_desktop.cc
|
| @@ -41,8 +41,7 @@ void AvatarMenuActionsDesktop::AddNewProfile(ProfileMetrics::ProfileAdd type) {
|
|
|
| Browser* settings_browser = browser_;
|
| if (!settings_browser) {
|
| - const Browser::CreateParams params(ProfileManager::GetLastUsedProfile(),
|
| - chrome::GetActiveDesktop());
|
| + const Browser::CreateParams params(ProfileManager::GetLastUsedProfile());
|
| settings_browser = new Browser(params);
|
| }
|
| chrome::ShowSettingsSubPage(settings_browser, chrome::kCreateProfileSubPage);
|
| @@ -52,8 +51,7 @@ void AvatarMenuActionsDesktop::AddNewProfile(ProfileMetrics::ProfileAdd type) {
|
| void AvatarMenuActionsDesktop::EditProfile(Profile* profile, size_t index) {
|
| Browser* settings_browser = browser_;
|
| if (!settings_browser) {
|
| - settings_browser = new Browser(
|
| - Browser::CreateParams(profile, chrome::GetActiveDesktop()));
|
| + settings_browser = new Browser(Browser::CreateParams(profile));
|
| }
|
| // TODO(davidben): The manageProfile page only allows editting the profile
|
| // associated with the browser it is opened in. AvatarMenuActionsDesktop
|
|
|