summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/chrome_frame_automation.cc5
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) {