Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1869)

Unified Diff: ipc/ipc_channel_proxy.cc

Issue 3337004: Fix a chrome browser crash observed in chrome frame reliability test runs. Th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ipc/ipc_sync_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_proxy.cc
===================================================================
--- ipc/ipc_channel_proxy.cc (revision 58249)
+++ ipc/ipc_channel_proxy.cc (working copy)
@@ -155,6 +155,11 @@
// Called on the IPC::Channel thread
void ChannelProxy::Context::OnSendMessage(Message* message) {
+ if (!channel_) {
+ delete message;
+ OnChannelClosed();
+ return;
+ }
if (!channel_->Send(message))
OnChannelError();
}
« no previous file with comments | « no previous file | ipc/ipc_sync_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698