| Index: chrome/browser/chromeos/ui_proxy_config_service.cc
|
| diff --git a/chrome/browser/chromeos/ui_proxy_config_service.cc b/chrome/browser/chromeos/ui_proxy_config_service.cc
|
| index 66195090694847454380651d15f2a73776fe740b..945f4e4b853dff612fda6e455788cb41260f9e11 100644
|
| --- a/chrome/browser/chromeos/ui_proxy_config_service.cc
|
| +++ b/chrome/browser/chromeos/ui_proxy_config_service.cc
|
| @@ -81,8 +81,10 @@ void UIProxyConfigService::SetCurrentNetwork(
|
| void UIProxyConfigService::UpdateFromPrefs() {
|
| const FavoriteState* network = NULL;
|
| if (!current_ui_network_.empty()) {
|
| - network = NetworkHandler::Get()->network_state_handler()->GetFavoriteState(
|
| - current_ui_network_);
|
| + network = NetworkHandler::Get()
|
| + ->network_state_handler()
|
| + ->GetFavoriteStateFromServicePath(current_ui_network_,
|
| + true /* configured_only */);
|
| LOG_IF(ERROR, !network) << "Couldn't find FavoriteState for network "
|
| << current_ui_network_;
|
| }
|
| @@ -109,8 +111,10 @@ void UIProxyConfigService::SetProxyConfig(const UIProxyConfig& config) {
|
| return;
|
|
|
| const FavoriteState* network =
|
| - NetworkHandler::Get()->network_state_handler()->GetFavoriteState(
|
| - current_ui_network_);
|
| + NetworkHandler::Get()
|
| + ->network_state_handler()
|
| + ->GetFavoriteStateFromServicePath(current_ui_network_,
|
| + true /* configured_only */);
|
| if (!network) {
|
| LOG(ERROR) << "Couldn't find FavoriteState for network "
|
| << current_ui_network_;
|
|
|