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

Unified Diff: chrome/browser/ui/webui/options2/browser_options_handler.cc

Issue 10834142: [options2] Fix issue when deleting a user and pressing back. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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/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() {

Powered by Google App Engine
This is Rietveld 408576698