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

Unified Diff: tools/gn/trace.cc

Issue 644433003: Type conversion fixes, tools/ edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/generate_test_gn_data.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 14b0a145d5bf02105307b7587605d387f52ff692..530915137b3e6a822a17844f480da748fff3631e 100644
--- a/tools/gn/trace.cc
+++ b/tools/gn/trace.cc
@@ -220,7 +220,7 @@ std::string SummarizeTraces() {
// possible for more than one to run if more than one build is going in
// parallel. Just report the total of all of them.
if (!check_headers.empty()) {
- float check_headers_time = 0;
+ double check_headers_time = 0;
for (const auto& cur : check_headers)
check_headers_time += cur->delta().InMillisecondsF();
« no previous file with comments | « tools/gn/generate_test_gn_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698