summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/avatar_menu_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profiles/avatar_menu_model.cc')
-rw-r--r--chrome/browser/profiles/avatar_menu_model.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profiles/avatar_menu_model.cc b/chrome/browser/profiles/avatar_menu_model.cc
index 2e83ea3..2691136 100644
--- a/chrome/browser/profiles/avatar_menu_model.cc
+++ b/chrome/browser/profiles/avatar_menu_model.cc
@@ -93,7 +93,7 @@ void AvatarMenuModel::EditProfile(size_t index) {
if (!browser) {
Profile* profile = g_browser_process->profile_manager()->GetProfileByPath(
profile_info_->GetPathOfProfileAtIndex(GetItemAt(index).model_index));
- browser = Browser::Create(profile);
+ browser = new Browser(Browser::CreateParams(profile));
}
std::string page = chrome::kManageProfileSubPage;
page += "#";