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 ef21322c4ed238407affaece76333405986b719c..da6f36bb5f18c9b233a019cd3606cd81056b2a59 100644 |
--- a/ash/system/web_notification/web_notification_tray.cc |
+++ b/ash/system/web_notification/web_notification_tray.cc |
@@ -157,9 +157,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_WORKAREA); |
} |
void WorkAreaObserver::OnAutoHideStateChanged(ShelfAutoHideState new_state) { |