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

Unified Diff: tools/gn/function_set_default_toolchain.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/function_rebase_path_unittest.cc ('k') | tools/gn/function_toolchain.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/function_set_default_toolchain.cc
diff --git a/tools/gn/function_set_default_toolchain.cc b/tools/gn/function_set_default_toolchain.cc
index 1eb5ee09b818ffa26334a9cb61b56d7e0dbddecb..cc5929e6686a4d1de95cc2494738d40f6ea8f6f9 100644
--- a/tools/gn/function_set_default_toolchain.cc
+++ b/tools/gn/function_set_default_toolchain.cc
@@ -57,7 +57,7 @@ Value RunSetDefaultToolchain(Scope* scope,
// When the loader is expecting the default toolchain to be set, it will set
// this key on the scope to point to the destination.
Label* default_toolchain_dest = static_cast<Label*>(
- scope->GetProperty(Loader::kDefaultToolchainKey, NULL));
+ scope->GetProperty(Loader::kDefaultToolchainKey, nullptr));
if (!default_toolchain_dest)
return Value();
« no previous file with comments | « tools/gn/function_rebase_path_unittest.cc ('k') | tools/gn/function_toolchain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698