summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_provider.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-12 04:32:14 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-12 04:32:14 +0000
commita93244407e205a8619d620ce91bafbdf88eab195 (patch)
tree11cb0d23c6936c0e867c15aacd8450f4bb40cce2 /chrome/browser/automation/automation_provider.cc
parent4dee39c5d979e25a0515e3f97d3657a464dd7d79 (diff)
downloadchromium_src-a93244407e205a8619d620ce91bafbdf88eab195.zip
chromium_src-a93244407e205a8619d620ce91bafbdf88eab195.tar.gz
chromium_src-a93244407e205a8619d620ce91bafbdf88eab195.tar.bz2
SIGTERM should cause the application to exit on the Mac.
BUG=23551 TEST=Send SIGTERM to the browser process. It should exit cleanly. Review URL: http://codereview.chromium.org/269048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28695 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.cc')
-rw-r--r--chrome/browser/automation/automation_provider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index 89a8ec9..e0b6b1a 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -1699,7 +1699,7 @@ TestingAutomationProvider::~TestingAutomationProvider() {
}
void TestingAutomationProvider::OnChannelError() {
- BrowserList::CloseAllBrowsers(true);
+ BrowserList::CloseAllBrowsersAndExit();
AutomationProvider::OnChannelError();
}