mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
client/simulate_crash_mac.h: Qualify NativeCPUContext with the crashpad
namespace when used in the CRASHPAD_SIMULATE_CRASH() macro. BUG=crashpad:12 R=rsesek@chromium.org Review URL: https://codereview.chromium.org/1001163002
This commit is contained in:
parent
fd14ae6450
commit
7edad7c412
@ -52,7 +52,7 @@ void SimulateCrash(const NativeCPUContext* cpu_context);
|
||||
//! \brief Captures the CPU context and simulates an exception without crashing.
|
||||
#define CRASHPAD_SIMULATE_CRASH() \
|
||||
do { \
|
||||
NativeCPUContext cpu_context; \
|
||||
crashpad::NativeCPUContext cpu_context; \
|
||||
crashpad::CaptureContext(&cpu_context); \
|
||||
crashpad::SimulateCrash(&cpu_context); \
|
||||
} while (false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user