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

Unified Diff: tools/gn/trace.cc

Issue 25153002: Enable compiling GN by default. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set:  Created 7 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 | « tools/gn/target_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/trace.cc
diff --git a/tools/gn/trace.cc b/tools/gn/trace.cc
index 34944fd5e25fc72344dedb338fddd67d4e794755..429cc71f0f430f91e7ff130253ec86743cedb971 100644
--- a/tools/gn/trace.cc
+++ b/tools/gn/trace.cc
@@ -271,5 +271,6 @@ void SaveTraces(const base::FilePath& file_name) {
out << "]}";
std::string out_str = out.str();
- file_util::WriteFile(file_name, out_str.data(), out_str.size());
+ file_util::WriteFile(file_name, out_str.data(),
+ static_cast<int>(out_str.size()));
}
« no previous file with comments | « tools/gn/target_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698