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

Unified Diff: mojo/public/cpp/test_support/lib/test_support.cc

Issue 612243002: Mojo: NULL -> nullptr in mojo/public/cpp outside of bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « mojo/public/cpp/system/tests/core_unittest.cc ('k') | mojo/public/cpp/test_support/lib/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/test_support/lib/test_support.cc
diff --git a/mojo/public/cpp/test_support/lib/test_support.cc b/mojo/public/cpp/test_support/lib/test_support.cc
index 55a3dcc702460c9aa7a54da798e1a76f3ee96e36..0b6035b9c2dec828d574ce86da39d9a0c41bd1e8 100644
--- a/mojo/public/cpp/test_support/lib/test_support.cc
+++ b/mojo/public/cpp/test_support/lib/test_support.cc
@@ -14,7 +14,7 @@ std::vector<std::string> EnumerateSourceRootRelativeDirectory(
char** names = MojoTestSupportEnumerateSourceRootRelativeDirectory(
relative_path.c_str());
std::vector<std::string> results;
- for (char** ptr = names; *ptr != NULL; ++ptr) {
+ for (char** ptr = names; *ptr != nullptr; ++ptr) {
results.push_back(*ptr);
free(*ptr);
}
« no previous file with comments | « mojo/public/cpp/system/tests/core_unittest.cc ('k') | mojo/public/cpp/test_support/lib/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698