diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-15 23:10:32 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-15 23:10:32 +0000 |
commit | e0e9c1df34aba9a40944802443581a9cf66f9ee5 (patch) | |
tree | 31dca1587c25e8cf9079815917a8d5756540fabb /chrome_frame | |
parent | 9fff9aab4bd3a8fe3ae28451d23b789fd1193769 (diff) | |
download | chromium_src-e0e9c1df34aba9a40944802443581a9cf66f9ee5.zip chromium_src-e0e9c1df34aba9a40944802443581a9cf66f9ee5.tar.gz chromium_src-e0e9c1df34aba9a40944802443581a9cf66f9ee5.tar.bz2 |
The chrome_frame_unittests firefox unit tests have been randomly failing on the builder due to Firefox
crashing in our npapi plugin while sending out a message via the host network stack. Based on the callstack
it appears that the automation client is NULL.
This is a purely speculative fix to get the builder green again.
TBR=stoyan
Review URL: http://codereview.chromium.org/503021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34622 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/chrome_frame_automation.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc index 7f4e218..1e63dab 100644 --- a/chrome_frame/chrome_frame_automation.cc +++ b/chrome_frame/chrome_frame_automation.cc @@ -988,7 +988,10 @@ void ChromeFrameAutomationClient::PrintTab() { // IPC:Message::Sender implementation bool ChromeFrameAutomationClient::Send(IPC::Message* msg) { - return automation_server_->Send(msg); + if (automation_server_) { + return automation_server_->Send(msg); + } + return false; } bool ChromeFrameAutomationClient::AddRequest(PluginUrlRequest* request) { |