| Index: chrome/browser/chromeos/system/ash_system_tray_delegate.cc
|
| diff --git a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
|
| index 6d4c8e04c05177592fc40148ba1aaaf8379fe80e..ec46124f49265aceae18a3de9403bdb15809d9e7 100644
|
| --- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
|
| +++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
|
| @@ -763,10 +763,11 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate,
|
| NetworkConfigView::Show(cros_network, GetNativeWindow());
|
| return;
|
| }
|
| - if (network->type() == flimflam::kTypeCellular &&
|
| - (network->activation_state() != flimflam::kActivationStateActivated ||
|
| - network->cellular_out_of_credits())) {
|
| - ash::Shell::GetInstance()->delegate()->OpenMobileSetup(network_id);
|
| + if (network->type() == flimflam::kTypeCellular) {
|
| + if (network->activation_state() != flimflam::kActivationStateActivated)
|
| + network_connect::ActivateCellular(network_id);
|
| + else if (network->cellular_out_of_credits())
|
| + network_connect::ShowMobileSetup(network_id);
|
| return;
|
| }
|
| // No special configure or setup for |network_id|, show the settings UI.
|
|
|