| Index: ash/system/cast/tray_cast.cc
|
| diff --git a/ash/system/cast/tray_cast.cc b/ash/system/cast/tray_cast.cc
|
| index fe95125dbaf233b9f613913b5b03639a0c940dd3..3339da87c7ce38228819376cdb2251396176bca2 100644
|
| --- a/ash/system/cast/tray_cast.cc
|
| +++ b/ash/system/cast/tray_cast.cc
|
| @@ -45,9 +45,7 @@ const int kStopButtonRightPadding = 18;
|
|
|
| // Returns the active CastConfigDelegate instance.
|
| ash::CastConfigDelegate* GetCastConfigDelegate() {
|
| - return ash::Shell::GetInstance()
|
| - ->system_tray_delegate()
|
| - ->GetCastConfigDelegate();
|
| + return WmShell::Get()->system_tray_delegate()->GetCastConfigDelegate();
|
| }
|
|
|
| // Helper method to elide the given string to the maximum length. If a string is
|
|
|