| Index: ash/system/web_notification/web_notification_tray.cc
|
| diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
|
| index b904c337a31171fac91ccac84c185ace0e07975d..baf9f017ef953e1169f3187cfa4b51b46f1fccd9 100644
|
| --- a/ash/system/web_notification/web_notification_tray.cc
|
| +++ b/ash/system/web_notification/web_notification_tray.cc
|
| @@ -138,7 +138,7 @@ void WebNotificationTray::ShowMessageCenterBubble() {
|
| HidePopupBubble();
|
| message_center_bubble_.reset(new MessageCenterBubble(this));
|
| status_area_widget()->SetHideSystemNotifications(true);
|
| - Shell::GetInstance()->shelf()->UpdateAutoHideState();
|
| + GetShelfLayoutManager()->UpdateAutoHideState();
|
| }
|
|
|
| void WebNotificationTray::HideMessageCenterBubble() {
|
| @@ -149,7 +149,7 @@ void WebNotificationTray::HideMessageCenterBubble() {
|
| notification_list_->SetMessageCenterVisible(false);
|
| UpdateTray();
|
| status_area_widget()->SetHideSystemNotifications(false);
|
| - Shell::GetInstance()->shelf()->UpdateAutoHideState();
|
| + GetShelfLayoutManager()->UpdateAutoHideState();
|
| }
|
|
|
| void WebNotificationTray::SetHidePopupBubble(bool hide) {
|
|
|