| Index: ash/system/chromeos/network/tray_vpn.cc
|
| diff --git a/ash/system/chromeos/network/tray_vpn.cc b/ash/system/chromeos/network/tray_vpn.cc
|
| index 0a9f76790f451b44ea7e8b9951fe4f2120c46208..291c785db7aca99b56ddedb9bfd5a8ab38606062 100644
|
| --- a/ash/system/chromeos/network/tray_vpn.cc
|
| +++ b/ash/system/chromeos/network/tray_vpn.cc
|
| @@ -7,6 +7,7 @@
|
| #include "ash/common/session/session_state_delegate.h"
|
| #include "ash/common/system/tray/system_tray_delegate.h"
|
| #include "ash/common/system/tray/tray_constants.h"
|
| +#include "ash/common/wm_shell.h"
|
| #include "ash/metrics/user_metrics_recorder.h"
|
| #include "ash/shell.h"
|
| #include "ash/system/chromeos/network/network_state_list_detailed_view.h"
|
| @@ -47,7 +48,7 @@ class VpnDefaultView : public TrayItemMore,
|
| static bool ShouldShow() {
|
| // Show the VPN entry in the ash tray bubble if at least one third-party VPN
|
| // provider is installed.
|
| - if (Shell::GetInstance()
|
| + if (WmShell::Get()
|
| ->system_tray_delegate()
|
| ->GetVPNDelegate()
|
| ->HaveThirdPartyVPNProviders()) {
|
|
|