Index: chrome/browser/notifications/message_center_notifications_unittest_win.cc |
diff --git a/chrome/browser/notifications/message_center_notifications_unittest_win.cc b/chrome/browser/notifications/message_center_notifications_unittest_win.cc |
index 86b19ed6864030eea14a73c6dc0cc346cca565ee..acb0a44de08f84ea3f20f837964e85e3eab277a7 100644 |
--- a/chrome/browser/notifications/message_center_notifications_unittest_win.cc |
+++ b/chrome/browser/notifications/message_center_notifications_unittest_win.cc |
@@ -105,7 +105,8 @@ TEST_F(MessageCenterNotificationManagerTest, SetupNotificationManager) { |
TEST_F(MessageCenterNotificationManagerTest, FirstRunShown) { |
TestingProfile profile; |
notification_manager()->Add(GetANotification("test"), &profile); |
- message_center()->DisplayedNotification("test"); |
+ message_center()->DisplayedNotification( |
+ "test", message_center::DISPLAY_SOURCE_MESSAGE_CENTER); |
message_center()->MarkSinglePopupAsShown("test", false); |
run_loop()->Run(); |
@@ -119,7 +120,8 @@ TEST_F(MessageCenterNotificationManagerTest, |
FirstRunNotShownWithPopupsVisible) { |
TestingProfile profile; |
notification_manager()->Add(GetANotification("test"), &profile); |
- message_center()->DisplayedNotification("test"); |
+ message_center()->DisplayedNotification( |
+ "test", message_center::DISPLAY_SOURCE_MESSAGE_CENTER); |
run_loop()->RunUntilIdle(); |
EXPECT_FALSE(delegate()->displayed_first_run_balloon()); |
EXPECT_FALSE(notification_manager()->FirstRunTimerIsActive()); |