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..9f52810647d104e914db9a18d58d68a309a65147 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_METRIC_WORK_AREA); |
} |
void WorkAreaObserver::OnAutoHideStateChanged(ShelfAutoHideState new_state) { |