Index: chrome/browser/ui/webui/options2/browser_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options2/browser_options_handler.cc b/chrome/browser/ui/webui/options2/browser_options_handler.cc |
index 5dc5be28191f767fa0e13b5b4043dd07e5f97b1c..0d0485d2c52819b8e01264c9222d5f7e01cc0ef4 100644 |
--- a/chrome/browser/ui/webui/options2/browser_options_handler.cc |
+++ b/chrome/browser/ui/webui/options2/browser_options_handler.cc |
@@ -971,8 +971,9 @@ void BrowserOptionsHandler::CreateProfileInfo(const ListValue* args) { |
profile_info->SetString("iconURL", cache.GetDefaultAvatarIconUrl( |
icon_index)); |
- web_ui()->CallJavascriptFunction("ManageProfileOverlay.showCreateDialog", |
- *profile_info); |
+ base::StringValue section("create"); |
+ web_ui()->CallJavascriptFunction("ManageProfileOverlay.setProfileInfo", |
+ *profile_info, section); |
} |
void BrowserOptionsHandler::ObserveThemeChanged() { |