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 a4bc850d5c45b9019b0742e15ba95018c1c746df..45280f97b4d4503d791350b21b2d4c537252f947 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) { |