| 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 8d18de4075f6a6fff5cb3c3ddcfacb9404d8bb49..03740a98c7de42d92c7855a5684832baa847776b 100644
|
| --- a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
|
| @@ -303,8 +303,10 @@ bool HasPolicyForFavorite(const FavoriteState* favorite,
|
| bool HasPolicyForNetwork(const NetworkState* network,
|
| const PrefService* profile_prefs) {
|
| const FavoriteState* favorite =
|
| - NetworkHandler::Get()->network_state_handler()->GetFavoriteState(
|
| - network->path());
|
| + NetworkHandler::Get()
|
| + ->network_state_handler()
|
| + ->GetFavoriteStateFromServicePath(network->path(),
|
| + true /* configured_only */);
|
| if (!favorite)
|
| return false;
|
| return HasPolicyForFavorite(favorite, profile_prefs);
|
|
|