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

Unified Diff: net/quic/quic_client_session.cc

Issue 761863002: Clean up type usage and fix MSVC "truncated value" warnings in net/quic/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile fix #3 Created 6 years, 1 month 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 | « net/quic/quic_bandwidth.cc ('k') | net/quic/quic_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_client_session.cc
diff --git a/net/quic/quic_client_session.cc b/net/quic/quic_client_session.cc
index 37aa311912d43d63df94f95fccc3028697780967..c2bc817e1e36b5971e32cf518ece592efcb9d684 100644
--- a/net/quic/quic_client_session.cc
+++ b/net/quic/quic_client_session.cc
@@ -318,8 +318,9 @@ QuicClientSession::~QuicClientSession() {
UMA_HISTOGRAM_CUSTOM_COUNTS("Net.QuicSession.MaxReorderingTimeLongRtt",
reordering, 0, kMaxReordering, 50);
}
- UMA_HISTOGRAM_COUNTS("Net.QuicSession.MaxReordering",
- stats.max_sequence_reordering);
+ UMA_HISTOGRAM_COUNTS(
+ "Net.QuicSession.MaxReordering",
+ static_cast<base::HistogramBase::Sample>(stats.max_sequence_reordering));
}
void QuicClientSession::OnStreamFrames(
« no previous file with comments | « net/quic/quic_bandwidth.cc ('k') | net/quic/quic_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698