| 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 21e532d57f432b17c756db2ae9255c24041434fc..ff3e4d7b8d2128e96f4b50262eeda11024c31223 100644
|
| --- a/chrome/browser/chromeos/display/display_preferences_unittest.cc
|
| +++ b/chrome/browser/chromeos/display/display_preferences_unittest.cc
|
| @@ -441,8 +441,9 @@ TEST_F(DisplayPreferencesTest, PreventStore) {
|
| message_center::MessageCenter::Get()->ClickOnNotificationButton(
|
| ResolutionNotificationController::kNotificationId, 1);
|
| RunAllPendingInMessageLoop();
|
| - EXPECT_FALSE(message_center::MessageCenter::Get()->HasNotification(
|
| - ResolutionNotificationController::kNotificationId));
|
| + EXPECT_FALSE(
|
| + message_center::MessageCenter::Get()->FindVisibleNotificationById(
|
| + ResolutionNotificationController::kNotificationId));
|
|
|
| // Once the notification is removed, the specified resolution will be stored
|
| // by SetDisplayResolution.
|
|
|