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 36c646ffbabade5197db310feff823c307427a32..2d109839d60a316260bca052fbc7691cf019e8a2 100644 |
--- a/ash/system/web_notification/web_notification_tray.cc |
+++ b/ash/system/web_notification/web_notification_tray.cc |
@@ -158,9 +158,10 @@ void WorkAreaObserver::StopObserving() { |
void WorkAreaObserver::OnDisplayWorkAreaInsetsChanged() { |
UpdateShelf(); |
- collection_->OnDisplayBoundsChanged( |
+ collection_->OnDisplayMetricsChanged( |
Shell::GetScreen()->GetDisplayNearestWindow( |
- shelf_->shelf_widget()->GetNativeView())); |
+ shelf_->shelf_widget()->GetNativeView()), |
+ gfx::DisplayObserver::DISPLAY_METRICS_WORK_AREA); |
} |
void WorkAreaObserver::OnAutoHideStateChanged(ShelfAutoHideState new_state) { |