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 a2d70a3720d51347b92904d9f2c51ecc0ecda124..4b3c0b564c36a5a82e08dce2fd3372d94f07ea4a 100644 |
--- a/ash/system/web_notification/web_notification_tray.cc |
+++ b/ash/system/web_notification/web_notification_tray.cc |
@@ -189,9 +189,10 @@ WebNotificationTray::WebNotificationTray(StatusAreaWidget* status_area_widget) |
message_center(), |
message_center_tray_.get(), |
popup_alignment_delegate_.get())); |
- const gfx::Display& display = Shell::GetScreen()->GetDisplayNearestWindow( |
- status_area_widget->GetNativeView()); |
- popup_alignment_delegate_->StartObserving(Shell::GetScreen(), display); |
+ const gfx::Display& display = |
+ gfx::Screen::GetScreen()->GetDisplayNearestWindow( |
+ status_area_widget->GetNativeView()); |
+ popup_alignment_delegate_->StartObserving(gfx::Screen::GetScreen(), display); |
OnMessageCenterTrayChanged(); |
} |