| Index: ash/system/tray_update.cc
|
| diff --git a/ash/system/tray_update.cc b/ash/system/tray_update.cc
|
| index 2e0e97dd146424d5c3a1e0e7f5202f87930e3f98..ef352ebc11e43376a6468e01d672c73d609e94b2 100644
|
| --- a/ash/system/tray_update.cc
|
| +++ b/ash/system/tray_update.cc
|
| @@ -102,7 +102,7 @@ class UpdateNagger : public ui::LayerAnimationObserver {
|
| explicit UpdateNagger(SystemTrayItem* owner)
|
| : owner_(owner) {
|
| RestartTimer();
|
| - Shell::GetInstance()->system_tray()->GetWidget()->GetNativeView()->layer()->
|
| + owner_->system_tray()->GetWidget()->GetNativeView()->layer()->
|
| GetAnimator()->AddObserver(this);
|
| }
|
|
|
| @@ -153,8 +153,8 @@ class UpdateNagger : public ui::LayerAnimationObserver {
|
|
|
| } // namespace tray
|
|
|
| -TrayUpdate::TrayUpdate()
|
| - : TrayImageItem(IDR_AURA_UBER_TRAY_UPDATE),
|
| +TrayUpdate::TrayUpdate(SystemTray* system_tray)
|
| + : TrayImageItem(system_tray, IDR_AURA_UBER_TRAY_UPDATE),
|
| severity_(UpdateObserver::UPDATE_NORMAL) {
|
| }
|
|
|
|
|