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

Unified Diff: net/quic/quic_clock.cc

Issue 2130103002: Landing Recent QUIC changes until 2016-07-02 02:45 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_client_session_base.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_clock.cc
diff --git a/net/quic/quic_clock.cc b/net/quic/quic_clock.cc
index 6196bbbe6b5d527d566d6a3dba35195498706563..673fe69dc3fe28bd92803a581b05a884eddf0de7 100644
--- a/net/quic/quic_clock.cc
+++ b/net/quic/quic_clock.cc
@@ -38,11 +38,11 @@ QuicTime QuicClock::ConvertWallTimeToQuicTime(
// result
//
// result = Now() - (WallNow() - walltime)
- return Now().Subtract(QuicTime::Delta::FromMicroseconds(
- WallNow()
- .Subtract(
- QuicTime::Delta::FromMicroseconds(walltime.ToUNIXMicroseconds()))
- .ToUNIXMicroseconds()));
+ return Now() - QuicTime::Delta::FromMicroseconds(
+ WallNow()
+ .Subtract(QuicTime::Delta::FromMicroseconds(
+ walltime.ToUNIXMicroseconds()))
+ .ToUNIXMicroseconds());
}
} // namespace net
« no previous file with comments | « net/quic/quic_client_session_base.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698