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

Unified Diff: util/posix/process_util_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 | « util/mach/task_memory.h ('k') | util/posix/symbolic_constants_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/posix/process_util_mac.cc
diff --git a/util/posix/process_util_mac.cc b/util/posix/process_util_mac.cc
index 07ee60d5a6382c395d04d1c571d778a532da0873..2b80d994d11a356e24d5076e0c8bed389f8b763c 100644
--- a/util/posix/process_util_mac.cc
+++ b/util/posix/process_util_mac.cc
@@ -43,14 +43,15 @@ bool ProcessArgumentsForPID(pid_t pid, std::vector<std::string>* argv) {
int tries = 3;
do {
int mib[] = {CTL_KERN, KERN_PROCARGS2, pid};
- int rv = sysctl(mib, arraysize(mib), NULL, &args_size_estimate, NULL, 0);
+ int rv =
+ sysctl(mib, arraysize(mib), nullptr, &args_size_estimate, nullptr, 0);
if (rv != 0) {
return false;
}
args_size = args_size_estimate + 1;
args.resize(args_size);
- rv = sysctl(mib, arraysize(mib), &args[0], &args_size, NULL, 0);
+ rv = sysctl(mib, arraysize(mib), &args[0], &args_size, nullptr, 0);
if (rv != 0) {
return false;
}
« no previous file with comments | « util/mach/task_memory.h ('k') | util/posix/symbolic_constants_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698