Index: chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc |
index 1cf06bede6daa5af0d5e2de4eaa6bdcac4c87f5e..0ef40c491a904b248eb8500a2fd03c0860bd8c09 100644 |
--- a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc |
@@ -37,6 +37,7 @@ |
#include "chrome/browser/chromeos/settings/cros_settings.h" |
#include "chrome/browser/chromeos/sim_dialog_delegate.h" |
#include "chrome/browser/chromeos/status/network_menu_icon.h" |
+#include "chrome/browser/chromeos/ui_proxy_config_service.h" |
#include "chrome/browser/net/pref_proxy_config_tracker.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_manager.h" |
@@ -1264,8 +1265,8 @@ void InternetOptionsHandler::PopulateIPConfigsCallback( |
if (!network) |
return; |
- Profile::FromWebUI(web_ui())->GetProxyConfigTracker()->UISetCurrentNetwork( |
- service_path); |
+ Profile::FromWebUI(web_ui())-> |
+ GetProxyConfigTracker()->GetUIService().SetCurrentNetwork(service_path); |
const chromeos::NetworkUIData& ui_data = network->ui_data(); |
const chromeos::NetworkPropertyUIData property_ui_data(ui_data.onc_source()); |