Cherry pick r1344 into chrome_37 branch

Original commit message:
> Unhook current Breakpad object after handling uncaught NSException.
> After handling an uncaught NSException, release the Breakpad object
> so there will not be a second crash dump logged.
>
> Prior to this change, for every uncaught NSException handled through
> the Breakpad::UncaughtExceptionHandler(), a second crash without
> any useful information (generally __cxa_rethrow and std::__terminate)
> is recorded.
>
> R=qsr@chromium.org
>
> Review URL: https://breakpad.appspot.com/9664002
>
> Patch from Peter Lee <pkl@chromium.org>.

R=mark@chromium.org

Review URL: https://breakpad.appspot.com/1704002

Cr-Mirrored-From: https://chromium.googlesource.com/breakpad/breakpad
Cr-Mirrored-Commit: a5d7e86dae0c8213fdd13be14e76faa9cbba850a
1 file changed