diff options
Diffstat (limited to 'chrome/browser/automation')
-rw-r--r-- | chrome/browser/automation/testing_automation_provider.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc index 29ea238..012fb49 100644 --- a/chrome/browser/automation/testing_automation_provider.cc +++ b/chrome/browser/automation/testing_automation_provider.cc @@ -516,7 +516,7 @@ void TestingAutomationProvider::CloseTab(int tab_handle, DCHECK(browser); new TabClosedNotificationObserver(this, wait_until_closed, reply_message, false); - chrome::CloseWebContents(browser, controller->GetWebContents()); + chrome::CloseWebContents(browser, controller->GetWebContents(), false); return; } @@ -6061,7 +6061,7 @@ void TestingAutomationProvider::CloseTabJSON( new TabClosedNotificationObserver(this, wait_until_closed, reply_message, true); } - chrome::CloseWebContents(browser, tab); + chrome::CloseWebContents(browser, tab, false); if (!wait_until_closed) AutomationJSONReply(this, reply_message).SendSuccess(NULL); return; |