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

Unified Diff: tools/gn/standard_out.cc

Issue 964203002: tools/gn: Fix errors found by Facebook's flint tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix chromium-style plugin errors Created 5 years, 10 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 | « tools/gn/setup.h ('k') | tools/gn/substitution_pattern.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/standard_out.cc
diff --git a/tools/gn/standard_out.cc b/tools/gn/standard_out.cc
index 07f99dfc6e6ce25a62528388cede1fdafaa3b69f..b318fe477a9cb50914c374121dfc4b5329ccda92 100644
--- a/tools/gn/standard_out.cc
+++ b/tools/gn/standard_out.cc
@@ -95,7 +95,7 @@ void OutputString(const std::string& output, TextDecoration dec) {
DWORD written = 0;
::WriteFile(hstdout, output.c_str(), static_cast<DWORD>(output.size()),
- &written, NULL);
+ &written, nullptr);
if (is_console)
::SetConsoleTextAttribute(hstdout, default_attributes);
« no previous file with comments | « tools/gn/setup.h ('k') | tools/gn/substitution_pattern.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698