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

Unified Diff: net/quic/quic_time.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 | « net/quic/quic_stream_sequencer.cc ('k') | net/quic/quic_unacked_packet_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_time.cc
diff --git a/net/quic/quic_time.cc b/net/quic/quic_time.cc
index e20a338ce390d9e2418878752f99ac1f9dda308b..5d653a35c87757ef6c716a2db74e79ccaf2b57ef 100644
--- a/net/quic/quic_time.cc
+++ b/net/quic/quic_time.cc
@@ -67,7 +67,8 @@ QuicTime::Delta QuicTime::Delta::Multiply(int i) const {
}
QuicTime::Delta QuicTime::Delta::Multiply(double d) const {
- return QuicTime::Delta::FromMicroseconds(ToMicroseconds() * d);
+ return QuicTime::Delta::FromMicroseconds(
+ static_cast<int64>(ToMicroseconds() * d));
}
// static
« no previous file with comments | « net/quic/quic_stream_sequencer.cc ('k') | net/quic/quic_unacked_packet_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698