Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2068)

Unified Diff: snapshot/exception_snapshot_mac.cc

Issue 656703002: Convert NULL to nullptr (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Fix 80-column violations Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « snapshot/cpu_context_mac_test.cc ('k') | snapshot/memory_snapshot_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « snapshot/cpu_context_mac_test.cc ('k') | snapshot/memory_snapshot_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698