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

Unified Diff: content/browser/browser_child_process_host_impl.cc

Issue 2054303002: Kill child processes on bad Mojo messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bad-message
Patch Set: . Created 4 years, 6 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
Index: content/browser/browser_child_process_host_impl.cc
diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc
index 23f4c05c188a419299b921f272fb2a03e42042ab..00c784ab3371ad40d54bfc6cc80bae02e05229eb 100644
--- a/content/browser/browser_child_process_host_impl.cc
+++ b/content/browser/browser_child_process_host_impl.cc
@@ -241,6 +241,7 @@ void BrowserChildProcessHostImpl::Launch(
data_.id,
this,
mojo_child_token_,
+ mojo::edk::ProcessErrorCallback(),
jam 2016/06/13 18:30:39 why not do it here as well? in general we try to
Ken Rockot(use gerrit already) 2016/06/13 22:36:40 done
jam 2016/06/13 23:27:12 nit: please update cl desc & title
terminate_on_shutdown));
}

Powered by Google App Engine
This is Rietveld 408576698