Index: chrome/browser/automation/automation_provider_observers.cc |
=================================================================== |
--- chrome/browser/automation/automation_provider_observers.cc (revision 195254) |
+++ chrome/browser/automation/automation_provider_observers.cc (working copy) |
@@ -1239,7 +1239,7 @@ |
void InfoBarCountObserver::CheckCount() { |
InfoBarService* infobar_service = |
InfoBarService::FromWebContents(web_contents_); |
- if (infobar_service->GetInfoBarCount() != target_count_) |
+ if (infobar_service->infobar_count() != target_count_) |
return; |
if (automation_) { |