Index: ui/message_center/notification_list_unittest.cc |
diff --git a/ui/message_center/notification_list_unittest.cc b/ui/message_center/notification_list_unittest.cc |
index aed91619e82440a94d72c80f8801f714312e4974..68a491bdf194a6e3fa6909503781b258de214d81 100644 |
--- a/ui/message_center/notification_list_unittest.cc |
+++ b/ui/message_center/notification_list_unittest.cc |
@@ -136,9 +136,9 @@ TEST_F(NotificationListTest, MessageCenterVisible) { |
// Toggle the message center visibility. It resets the unread count when |
// hidden. |
- notification_list()->SetMessageCenterVisible(true); |
+ notification_list()->SetMessageCenterVisible(true, NULL); |
ASSERT_EQ(1u, notification_list()->unread_count()); |
- notification_list()->SetMessageCenterVisible(false); |
+ notification_list()->SetMessageCenterVisible(false, NULL); |
ASSERT_EQ(0u, notification_list()->unread_count()); |
} |
@@ -226,8 +226,8 @@ TEST_F(NotificationListTest, Priority) { |
EXPECT_EQ(NotificationList::kMaxVisiblePopupNotifications, GetPopupCounts()); |
// Low priority: not visible to popups. |
- notification_list()->SetMessageCenterVisible(true); |
- notification_list()->SetMessageCenterVisible(false); |
+ notification_list()->SetMessageCenterVisible(true, NULL); |
+ notification_list()->SetMessageCenterVisible(false, NULL); |
EXPECT_EQ(0u, notification_list()->unread_count()); |
AddPriorityNotification(-1); |
EXPECT_EQ(NotificationList::kMaxVisiblePopupNotifications + 2, |