Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 088b7196b9c210ff5c5e93333b1da9907e15ca4c..3cc5be431c55868e4a47e43c5f9d6b327a4f2399 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -896,6 +896,9 @@ bool RenderProcessHostImpl::Init() { |
g_in_process_thread = in_process_renderer_->message_loop(); |
+ // Make sure any queued messages on the channel are flushed in the case |
+ // where we aren't launching a child process. |
+ channel_->Flush(); |
} else { |
// Build command line for renderer. We call AppendRendererCommandLine() |
// first so the process type argument will appear first. |