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

Unified Diff: util/posix/symbolic_constants_posix.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 | « util/posix/process_util_mac.cc ('k') | util/posix/symbolic_constants_posix_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/posix/symbolic_constants_posix.cc
diff --git a/util/posix/symbolic_constants_posix.cc b/util/posix/symbolic_constants_posix.cc
index c5a4968bd4b43a4359224e0638ae330ff8ce9722..c4b186bd6b763fd166868299d280806927f97d39 100644
--- a/util/posix/symbolic_constants_posix.cc
+++ b/util/posix/symbolic_constants_posix.cc
@@ -23,7 +23,7 @@
namespace {
const char* kSignalNames[] = {
- NULL,
+ nullptr,
#if defined(OS_MACOSX)
// sed -Ene 's/^#define[[:space:]]SIG([[:alnum:]]+)[[:space:]]+[[:digit:]]{1,2}([[:space:]]|$).*/ "\1",/p'
@@ -115,7 +115,7 @@ std::string SignalToString(int signal,
const char* signal_name =
static_cast<size_t>(signal) < arraysize(kSignalNames)
? kSignalNames[signal]
- : NULL;
+ : nullptr;
if (!signal_name) {
if (options & kUnknownIsNumeric) {
return base::StringPrintf("%d", signal);
« no previous file with comments | « util/posix/process_util_mac.cc ('k') | util/posix/symbolic_constants_posix_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698