Call DwoC synchronously from BrowserChildProcessHostImpl::OnMojoError.
This CL makes sure that reports of bad mojo messages are preserving the callstack and the crash keys. This is done by making sure that DumpWithoutCrashing is called synchronously from BrowserChildProcessHostImpl::OnMojoError. The CL also opportunitically reduces code duplication related to actually terminating a child process. The duplicated code is extracted into a new TerminateProcessForBadMessage private method and reused both from OnMojoError and from TerminateOnBadMessageReceived. Bug: 1062418 Change-Id: I8f5bf802e9aabec4d92ee9fd37c1c55012f1250f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106806Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/master@{#751478}
Showing
Please register or sign in to comment