Chromium Code Reviews| Index: ash/display/resolution_notification_controller_unittest.cc |
| diff --git a/ash/display/resolution_notification_controller_unittest.cc b/ash/display/resolution_notification_controller_unittest.cc |
| index 4d1eedf648ced2841c6ac6c44c5c6d0fcfca8c86..62d2bd34ace260ae770d60bdee7221e1b30d96a4 100644 |
| --- a/ash/display/resolution_notification_controller_unittest.cc |
| +++ b/ash/display/resolution_notification_controller_unittest.cc |
| @@ -123,8 +123,8 @@ class ResolutionNotificationControllerTest : public ash::test::AshTestBase { |
| } |
| static bool IsNotificationVisible() { |
| - return message_center::MessageCenter::Get()->HasNotification( |
| - ResolutionNotificationController::kNotificationId); |
| + return message_center::MessageCenter::Get()->FindVisibleNotificationById( |
| + ResolutionNotificationController::kNotificationId) != NULL; |
|
James Cook
2014/06/09 22:10:23
No need for comparison to NULL here or anywhere el
juyik
2014/06/09 22:46:41
Done.
|
| } |
| static void TickTimer() { |