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 4152ce2689bc097b208359991371ffd99a31e634..fc93b45e882108fc822bbb3191a7cde2a2de3936 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -2066,6 +2066,10 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead, |
child_process_launcher_.reset(); |
channel_.reset(); |
+ while (!queued_messages_.empty()) { |
jam
2015/03/23 16:36:14
nit: use STLDeleteElements from stl_util.h
|
+ delete queued_messages_.front(); |
+ queued_messages_.pop(); |
+ } |
within_process_died_observer_ = true; |
NotificationService::current()->Notify( |