Skip to content

Commit 977a161

Browse files
committed
Mac: fix breakpad build errors
1 parent e8893a7 commit 977a161

File tree

2 files changed

+1
-32
lines changed

2 files changed

+1
-32
lines changed

src/chrome_breakpad_client_mac.mm

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,40 +7,9 @@
77
#include "base/command_line.h"
88
#include "chrome/common/chrome_switches.h"
99

10-
<<<<<<< HEAD
11-
#if !defined(DISABLE_NACL)
12-
#import "breakpad/src/client/mac/Framework/Breakpad.h"
13-
#include "components/nacl/common/nacl_switches.h"
14-
#include "native_client/src/trusted/service_runtime/osx/crash_filter.h"
15-
#endif
16-
17-
namespace chrome {
18-
19-
namespace {
20-
21-
#if !defined(DISABLE_NACL)
22-
bool NaClBreakpadCrashFilter(int exception_type,
23-
int exception_code,
24-
mach_port_t crashing_thread,
25-
void* context) {
26-
return !NaClMachThreadIsInUntrusted(crashing_thread);
27-
}
28-
#endif
29-
30-
} // namespace
31-
32-
void ChromeBreakpadClient::InstallAdditionalFilters(BreakpadRef breakpad) {
33-
#if !defined(DISABLE_NACL)
34-
if (CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
35-
switches::kProcessType) == switches::kNaClLoaderProcess) {
36-
BreakpadSetFilterCallback(breakpad, NaClBreakpadCrashFilter, NULL);
37-
}
38-
#endif
39-
=======
4010
namespace chrome {
4111

4212
void ChromeBreakpadClient::InstallAdditionalFilters(BreakpadRef breakpad) {
43-
>>>>>>> 75583278d6e056c59e5acca60221da6f73756624
4413
}
4514

4615
} // namespace chrome

src/shell_main_delegate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ShellMainDelegate : public ContentMainDelegate {
2929
virtual ContentRendererClient* CreateContentRendererClient() OVERRIDE;
3030

3131
static void InitializeResourceBundle();
32-
#if defined(OS_POSIX) && !defined(OS_ANDROID)
32+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
3333
virtual void ZygoteForked() OVERRIDE;
3434
#endif
3535

0 commit comments

Comments
 (0)