Index: chrome/browser/notifications/notification_browsertest.cc |
diff --git a/chrome/browser/notifications/notification_browsertest.cc b/chrome/browser/notifications/notification_browsertest.cc |
index 58aea697ec30ba8d2bc98009ea369f79c394ee6b..21da5ddc8a5386fd06747c4f714525c51eec2e30 100644 |
--- a/chrome/browser/notifications/notification_browsertest.cc |
+++ b/chrome/browser/notifications/notification_browsertest.cc |
@@ -38,7 +38,7 @@ IN_PROC_BROWSER_TEST_F(NotificationsPermissionTest, TestUserGestureInfobar) { |
EXPECT_TRUE(result); |
EXPECT_EQ(1U, chrome::GetTabContentsAt(browser(), 0)->infobar_tab_helper()-> |
- infobar_count()); |
+ GetInfoBarCount()); |
} |
// If this flakes, use http://crbug.com/62311. |
@@ -53,5 +53,5 @@ IN_PROC_BROWSER_TEST_F(NotificationsPermissionTest, TestNoUserGestureInfobar) { |
"files/notifications/notifications_request_inline.html")); |
EXPECT_EQ(0U, chrome::GetTabContentsAt(browser(), 0)->infobar_tab_helper()-> |
- infobar_count()); |
+ GetInfoBarCount()); |
} |