Index: chrome/browser/geolocation/geolocation_browsertest.cc |
diff --git a/chrome/browser/geolocation/geolocation_browsertest.cc b/chrome/browser/geolocation/geolocation_browsertest.cc |
index 7edf81256adf5c00f6d665c1b02c79a053ca37e9..8022e646e82a80a52f18dce1ce76045d146fe14a 100644 |
--- a/chrome/browser/geolocation/geolocation_browsertest.cc |
+++ b/chrome/browser/geolocation/geolocation_browsertest.cc |
@@ -568,10 +568,10 @@ IN_PROC_BROWSER_TEST_F(GeolocationBrowserTest, |
InfoBarTabHelper* infobar_helper = |
chrome::GetActiveTabContents(current_browser_)->infobar_tab_helper(); |
- size_t num_infobars_before_cancel = infobar_helper->infobar_count(); |
+ size_t num_infobars_before_cancel = infobar_helper->GetInfoBarCount(); |
// Change the iframe, and ensure the infobar is gone. |
IFrameLoader change_iframe_1(current_browser_, 1, current_url_); |
- size_t num_infobars_after_cancel = infobar_helper->infobar_count(); |
+ size_t num_infobars_after_cancel = infobar_helper->GetInfoBarCount(); |
EXPECT_EQ(num_infobars_before_cancel, num_infobars_after_cancel + 1); |
} |