Index: snapshot/exception_snapshot_mac.cc |
diff --git a/snapshot/exception_snapshot_mac.cc b/snapshot/exception_snapshot_mac.cc |
index 4968ff2c48b78b66b2e7b081013a5e15ee3c390a..2a67ea95dd676cac68f8aaaa7983eeec55636493 100644 |
--- a/snapshot/exception_snapshot_mac.cc |
+++ b/snapshot/exception_snapshot_mac.cc |
@@ -61,7 +61,7 @@ bool ExceptionSnapshotMac::Initialize(ProcessReader* process_reader, |
if (exception_ == EXC_CRASH) { |
exception_ = ExcCrashRecoverOriginalException( |
- exception_code_0, &exception_code_0, NULL); |
+ exception_code_0, &exception_code_0, nullptr); |
} |
// ExceptionInfo() returns code[0] in a 32-bit field. This shouldn’t be a |
@@ -74,7 +74,7 @@ bool ExceptionSnapshotMac::Initialize(ProcessReader* process_reader, |
return false; |
} |
- const ProcessReader::Thread* thread = NULL; |
+ const ProcessReader::Thread* thread = nullptr; |
for (const ProcessReader::Thread& loop_thread : process_reader->Threads()) { |
if (exception_thread == loop_thread.port) { |
thread = &loop_thread; |