| Index: chrome/browser/automation/testing_automation_provider.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
|
| index 5e3f044a82e3f711ef4c57afe6f8032cd8297e28..2a048d27955d75ca14dc50ac6238a01f9a2c647e 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -515,7 +515,7 @@ void TestingAutomationProvider::CloseTab(int tab_handle,
|
| IPC::Message* reply_message) {
|
| if (tab_tracker_->ContainsHandle(tab_handle)) {
|
| NavigationController* controller = tab_tracker_->GetResource(tab_handle);
|
| - Browser* browser = browser::FindBrowserWithWebContents(
|
| + Browser* browser = chrome::FindBrowserWithWebContents(
|
| controller->GetWebContents());
|
| DCHECK(browser);
|
| new TabClosedNotificationObserver(this, wait_until_closed, reply_message,
|
| @@ -1034,7 +1034,7 @@ void TestingAutomationProvider::GetTabIndex(int handle, int* tabstrip_index) {
|
|
|
| if (tab_tracker_->ContainsHandle(handle)) {
|
| NavigationController* tab = tab_tracker_->GetResource(handle);
|
| - Browser* browser = browser::FindBrowserWithWebContents(
|
| + Browser* browser = chrome::FindBrowserWithWebContents(
|
| tab->GetWebContents());
|
| *tabstrip_index = browser->tab_strip_model()->GetIndexOfWebContents(
|
| tab->GetWebContents());
|
|
|