summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/plugin/plugin_thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/plugin/plugin_thread.cc b/chrome/plugin/plugin_thread.cc
index 25bd06d..acb179b 100644
--- a/chrome/plugin/plugin_thread.cc
+++ b/chrome/plugin/plugin_thread.cc
@@ -47,7 +47,7 @@ void PluginThread::OnChannelError() {
}
bool PluginThread::Send(IPC::Message* msg) {
- return channel_->Send(msg);
+ return channel_.get() ? channel_->Send(msg) : false;
}
void PluginThread::OnMessageReceived(const IPC::Message& msg) {