diff options
author | mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-02-21 21:24:43 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-02-21 21:24:43 +0000 |
commit | 6fbc102794fe6318b56d1f6b0b7cbc53aee95855 (patch) | |
tree | f6a2c8bcd189e8b09c69f0259adc5ddc5af4b43f /src/client/mac/crash_generation/Inspector.mm | |
parent | Add some missing #includes (diff) | |
download | breakpad-6fbc102794fe6318b56d1f6b0b7cbc53aee95855.tar.xz |
Funnel all bootstrap_register calls through a routine that doesn't care that
it's deprecated. Apple marked bootstrap_register as deprecated on 10.5 but
it's actually still needed on that OS release. There isn't a way to get the
functionality Breakpad needs from it without calling it until 10.6.
Review URL: https://breakpad.appspot.com/350001
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@921 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/crash_generation/Inspector.mm')
-rw-r--r-- | src/client/mac/crash_generation/Inspector.mm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/mac/crash_generation/Inspector.mm b/src/client/mac/crash_generation/Inspector.mm index 2a2c08db..ea5d19a6 100644 --- a/src/client/mac/crash_generation/Inspector.mm +++ b/src/client/mac/crash_generation/Inspector.mm @@ -43,6 +43,7 @@ #import "common/mac/SimpleStringDictionary.h" #import "common/mac/MachIPC.h" +#include "common/mac/bootstrap_compat.h" #import "GTMDefines.h" @@ -174,9 +175,9 @@ kern_return_t Inspector::ServiceCheckOut(const char *receive_port_name) { } // Unregister the service associated with the receive port. - kr = bootstrap_register(bootstrap_subset_port_, - (char*)receive_port_name, - MACH_PORT_NULL); + kr = breakpad::BootstrapRegister(bootstrap_subset_port_, + (char*)receive_port_name, + MACH_PORT_NULL); if (kr != KERN_SUCCESS) { PRINT_MACH_RESULT(kr, "Inspector: UNREGISTERING: bootstrap_register()"); |