Commit 2c777f11 authored by mark's avatar mark Committed by Commit bot

Restart crashpad_handler on Mac if it exits unexpectedly

This feature is only operative on OS X 10.10 and later, as directed by
CrashpadClient::StartHandler(). This limitation is enforced because the
handler restarter can cause the browser process to become an unreapable
pseudo-zombie on earlier OS versions if it crashes while a handler
restart is pending.

Review URL: https://codereview.chromium.org/1470073002

Cr-Commit-Position: refs/heads/master@{#361201}
parent bd1af97e
...@@ -153,7 +153,7 @@ void InitializeCrashpad(bool initial_client, const std::string& process_type) { ...@@ -153,7 +153,7 @@ void InitializeCrashpad(bool initial_client, const std::string& process_type) {
url, url,
process_annotations, process_annotations,
arguments, arguments,
false); true);
if (result) { if (result) {
result = crashpad_client.UseHandler(); result = crashpad_client.UseHandler();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment