Index: chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc |
=================================================================== |
--- chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc (revision 103881) |
+++ chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc (working copy) |
@@ -102,10 +102,10 @@ |
(static_cast<OptionsPageUIHandler*>(*iter))->Initialize(); |
} |
if (proxy_settings()) { |
+ proxy_settings()->SetCurrentUserProfile(GetProfile()); |
proxy_settings()->MakeActiveNetworkCurrent(); |
std::string network = proxy_settings()->GetCurrentNetworkName(); |
- if (!network.empty()) |
- proxy_handler_->SetNetworkName(network); |
+ proxy_handler_->SetNetworkName(network); |
} |
} |