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

Unified Diff: net/quic/quic_chromium_alarm_factory.cc

Issue 2132623002: Landing Recent QUIC changes until 2016-07-02 02:45 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing comment about RPCs Created 4 years, 5 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 | « net/quic/quic_buffered_packet_store_test.cc ('k') | net/quic/quic_chromium_alarm_factory_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_chromium_alarm_factory.cc
diff --git a/net/quic/quic_chromium_alarm_factory.cc b/net/quic/quic_chromium_alarm_factory.cc
index 8973b97e35c150417df7a0aadc7829bacf437acc..05b8e6e17856b4d53758e1976c1d2097857e11bd 100644
--- a/net/quic/quic_chromium_alarm_factory.cc
+++ b/net/quic/quic_chromium_alarm_factory.cc
@@ -41,7 +41,7 @@ class QuicChromeAlarm : public QuicAlarm {
weak_factory_.InvalidateWeakPtrs();
}
- int64_t delay_us = deadline().Subtract(clock_->Now()).ToMicroseconds();
+ int64_t delay_us = (deadline() - (clock_->Now())).ToMicroseconds();
if (delay_us < 0) {
delay_us = 0;
}
« no previous file with comments | « net/quic/quic_buffered_packet_store_test.cc ('k') | net/quic/quic_chromium_alarm_factory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698