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

Unified Diff: tools/gn/escape.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/commands.cc ('k') | tools/gn/escape_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/escape.cc
diff --git a/tools/gn/escape.cc b/tools/gn/escape.cc
index 06f6ee8bec3d6b6758a62b498506b26aa09c85da..3104cb8313391e4ce33a41b3b061553e4220efec 100644
--- a/tools/gn/escape.cc
+++ b/tools/gn/escape.cc
@@ -200,7 +200,7 @@ void EscapeStringToStream(std::ostream& out,
const base::StringPiece& str,
const EscapeOptions& options) {
base::StackString<256> escaped;
- EscapeStringToString(str, options, &escaped.container(), NULL);
+ EscapeStringToString(str, options, &escaped.container(), nullptr);
if (!escaped->empty())
out.write(escaped->data(), escaped->size());
}
« no previous file with comments | « tools/gn/commands.cc ('k') | tools/gn/escape_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698