| Index: ash/system/web_notification/web_notification_tray_unittest.cc
|
| diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc
|
| index 054c0d212ab8baf9f0ac7ffc7f5cfad74cea7261..5d808e50f59fc7ae00408bcf747c3e5171861a2d 100644
|
| --- a/ash/system/web_notification/web_notification_tray_unittest.cc
|
| +++ b/ash/system/web_notification/web_notification_tray_unittest.cc
|
| @@ -286,9 +286,7 @@ TEST_F(WebNotificationTrayTest, MAYBE_PopupShownOnBothDisplays) {
|
| return;
|
|
|
| // Enables to appear the notification for display changes.
|
| - test::TestSystemTrayDelegate* tray_delegate =
|
| - static_cast<test::TestSystemTrayDelegate*>(
|
| - Shell::GetInstance()->system_tray_delegate());
|
| + test::TestSystemTrayDelegate* tray_delegate = GetSystemTrayDelegate();
|
| tray_delegate->set_should_show_display_notification(true);
|
|
|
| UpdateDisplay("400x400,200x200");
|
|
|