Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6799)

Unified Diff: chrome/test/base/ui_test_utils.cc

Issue 10830353: Introduce InfoBarTabService API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments, merge to LKGR Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/ui_test_utils.cc
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
index 93f26508de37f29e4fec78aabcc8447baefc5265..b2846744657876fb2915be5ed2f072e54d79c440 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));
}
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698