| Index: ash/system/chromeos/network/network_state_notifier_unittest.cc
|
| diff --git a/ash/system/chromeos/network/network_state_notifier_unittest.cc b/ash/system/chromeos/network/network_state_notifier_unittest.cc
|
| index 945bca3bc53d16b596138f2bcfe89bb93bf173bc..c7c2bc91bce700f10106efb4fc8e6996c133bd14 100644
|
| --- a/ash/system/chromeos/network/network_state_notifier_unittest.cc
|
| +++ b/ash/system/chromeos/network/network_state_notifier_unittest.cc
|
| @@ -98,8 +98,8 @@ TEST_F(NetworkStateNotifierTest, ConnectionFailure) {
|
| // Failure should spawn a notification.
|
| message_center::MessageCenter* message_center =
|
| message_center::MessageCenter::Get();
|
| - EXPECT_TRUE(message_center->HasNotification(
|
| - network_connect::kNetworkConnectNotificationId));
|
| + EXPECT_TRUE(message_center->FindVisibleNotificationById(
|
| + network_connect::kNetworkConnectNotificationId) != NULL);
|
| }
|
|
|
| } // namespace test
|
|
|