summaryrefslogtreecommitdiffstats
path: root/chrome/test/base/ui_test_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/base/ui_test_utils.cc')
-rw-r--r--chrome/test/base/ui_test_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
index 93f2650..b284674 100644
--- a/chrome/test/base/ui_test_utils.cc
+++ b/chrome/test/base/ui_test_utils.cc
@@ -384,7 +384,7 @@ int FindInPage(TabContents* tab_contents, const string16& search_string,
void CloseAllInfoBars(TabContents* tab) {
InfoBarTabHelper* infobar_helper = tab->infobar_tab_helper();
- while (infobar_helper->infobar_count() > 0)
+ while (infobar_helper->GetInfoBarCount() > 0)
infobar_helper->RemoveInfoBar(infobar_helper->GetInfoBarDelegateAt(0));
}