summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_automation.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 18:41:18 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 18:41:18 +0000
commitc799519cc0806faa5001a9d07badc2cbdf1c97bb (patch)
treeabfad202fe88def23831d092457d244d4ab37a8b /chrome_frame/chrome_frame_automation.cc
parentd8c6cabdea33f84a488f529bb027491739b2fb6e (diff)
downloadchromium_src-c799519cc0806faa5001a9d07badc2cbdf1c97bb.zip
chromium_src-c799519cc0806faa5001a9d07badc2cbdf1c97bb.tar.gz
chromium_src-c799519cc0806faa5001a9d07badc2cbdf1c97bb.tar.bz2
GTTF: After timeout, all further automation calls should fail immediately.
If IPC send fails, further automation calls are extremely likely to fail. Avoid wasting a lot of time on further timeouts by closing the channel immediately on the first error. TEST=ui_tests BUG=51346 Review URL: http://codereview.chromium.org/3131020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56722 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_automation.cc')
-rw-r--r--chrome_frame/chrome_frame_automation.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc
index 32fcfb0..6ede7e3 100644
--- a/chrome_frame/chrome_frame_automation.cc
+++ b/chrome_frame/chrome_frame_automation.cc
@@ -128,7 +128,7 @@ class ChromeFrameAutomationProxyImpl::CFMsgDispatcher
ChromeFrameAutomationProxyImpl::ChromeFrameAutomationProxyImpl(
AutomationProxyCacheEntry* entry, int launch_timeout)
- : AutomationProxy(launch_timeout), proxy_entry_(entry) {
+ : AutomationProxy(launch_timeout, false), proxy_entry_(entry) {
TRACE_EVENT_BEGIN("chromeframe.automationproxy", this, "");
sync_ = new CFMsgDispatcher();