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

Unified Diff: util/test/multiprocess.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/test/mac/mach_multiprocess.cc ('k') | util/test/multiprocess_exec.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/test/multiprocess.cc
diff --git a/util/test/multiprocess.cc b/util/test/multiprocess.cc
index 9a283f39090466e12ddbc4cc9260221a0fb9e928..c6b648b6abfa4dd833c2fdb99de5272d4536e24b 100644
--- a/util/test/multiprocess.cc
+++ b/util/test/multiprocess.cc
@@ -53,13 +53,13 @@ struct MultiprocessInfo {
} // namespace internal
Multiprocess::Multiprocess()
- : info_(NULL),
+ : info_(nullptr),
code_(EXIT_SUCCESS),
reason_(kTerminationNormal) {
}
void Multiprocess::Run() {
- ASSERT_EQ(NULL, info_);
+ ASSERT_EQ(nullptr, info_);
scoped_ptr<internal::MultiprocessInfo> info(new internal::MultiprocessInfo);
base::AutoReset<internal::MultiprocessInfo*> reset_info(&info_, info.get());
@@ -84,7 +84,7 @@ void Multiprocess::Run() {
// done, the child might hang while waiting for a parent that has already
// triggered a fatal assertion failure to do something.
info.reset();
- info_ = NULL;
+ info_ = nullptr;
int status;
pid_t wait_pid = HANDLE_EINTR(waitpid(pid, &status, 0));
« no previous file with comments | « util/test/mac/mach_multiprocess.cc ('k') | util/test/multiprocess_exec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698