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