| Index: chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc
|
| diff --git a/chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc b/chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc
|
| index b502658d5b456b5bad28bfa64903a7cb20b0e1d2..80216b848716ae8772a0154e33c052731e78a015 100644
|
| --- a/chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc
|
| +++ b/chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc
|
| @@ -20,7 +20,8 @@ const char* kNotificationId =
|
| NetworkPortalNotificationController::kNotificationId;
|
|
|
| bool HasNotification() {
|
| - return MessageCenter::Get()->HasNotification(kNotificationId);
|
| + MessageCenter* message_center = MessageCenter::Get();
|
| + return message_center->FindVisibleNotificationById(kNotificationId) != NULL;
|
| }
|
|
|
| class NotificationObserver : public message_center::MessageCenterObserver {
|
|
|