Chromium Code Reviews| Index: chrome/browser/chromeos/display/display_preferences_unittest.cc |
| diff --git a/chrome/browser/chromeos/display/display_preferences_unittest.cc b/chrome/browser/chromeos/display/display_preferences_unittest.cc |
| index 7d889f04103dc7d0473d4df0b2126445d946f4b7..6f179cf24faacc33e3d8bf63ded8505847118813 100644 |
| --- a/chrome/browser/chromeos/display/display_preferences_unittest.cc |
| +++ b/chrome/browser/chromeos/display/display_preferences_unittest.cc |
| @@ -438,8 +438,8 @@ TEST_F(DisplayPreferencesTest, PreventStore) { |
| message_center::MessageCenter::Get()->ClickOnNotificationButton( |
| ResolutionNotificationController::kNotificationId, 1); |
| RunAllPendingInMessageLoop(); |
| - EXPECT_FALSE(message_center::MessageCenter::Get()->HasNotification( |
| - ResolutionNotificationController::kNotificationId)); |
| + EXPECT_TRUE(message_center::MessageCenter::Get()->FindVisibleNotificationById( |
|
James Cook
2014/06/09 22:10:23
EXPECT_FALSE(message_center::MessageCenter::Get()-
juyik
2014/06/09 22:46:41
Done.
|
| + ResolutionNotificationController::kNotificationId) == NULL); |
| // Once the notification is removed, the specified resolution will be stored |
| // by SetDisplayResolution. |