| Index: chrome/browser/automation/testing_automation_provider.cc
|
| ===================================================================
|
| --- chrome/browser/automation/testing_automation_provider.cc (revision 87541)
|
| +++ chrome/browser/automation/testing_automation_provider.cc (working copy)
|
| @@ -5857,8 +5857,9 @@
|
| }
|
|
|
| // The delegate will delete itself.
|
| - new InfoBarCountObserver(this, reply_message, controller->tab_contents(),
|
| - target_count);
|
| + new InfoBarCountObserver(this, reply_message,
|
| + TabContentsWrapper::GetCurrentWrapperForContents(
|
| + controller->tab_contents()), target_count);
|
| }
|
|
|
| // Gets the current used encoding name of the page in the specified tab.
|
|
|