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

Unified Diff: tools/gn/scope_unittest.cc

Issue 798333005: tools/gn: Pass clang-modernize -use-nullptr over it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address Brett's review - revert some clang-format changes Created 6 years 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 | « tools/gn/scope_per_file_provider.cc ('k') | tools/gn/string_utils_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/scope_unittest.cc
diff --git a/tools/gn/scope_unittest.cc b/tools/gn/scope_unittest.cc
index 89de4a646226399a5e0c8c7a96b6f083af7340b0..1dd1e65ca148a317b26f1b7a89754e6268d056fb 100644
--- a/tools/gn/scope_unittest.cc
+++ b/tools/gn/scope_unittest.cc
@@ -286,8 +286,8 @@ TEST(Scope, GetMutableValue) {
TEST(Scope, RemovePrivateIdentifiers) {
TestWithScope setup;
- setup.scope()->SetValue("a", Value(NULL, true), NULL);
- setup.scope()->SetValue("_b", Value(NULL, true), NULL);
+ setup.scope()->SetValue("a", Value(nullptr, true), nullptr);
+ setup.scope()->SetValue("_b", Value(nullptr, true), nullptr);
setup.scope()->RemovePrivateIdentifiers();
EXPECT_TRUE(setup.scope()->GetValue("a"));
« no previous file with comments | « tools/gn/scope_per_file_provider.cc ('k') | tools/gn/string_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698