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

Unified Diff: net/quic/platform/impl/quic_chromium_clock_test.cc

Issue 2871573009: Use clock_gettime instead of base::TimeTicks::Now() in QUIC (Closed)
Patch Set: Fallback Created 3 years, 7 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/platform/impl/quic_chromium_clock.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/impl/quic_chromium_clock_test.cc
diff --git a/net/quic/platform/impl/quic_chromium_clock_test.cc b/net/quic/platform/impl/quic_chromium_clock_test.cc
index 562a15655177705069a4006f4cc7e230f8668839..1d67f1dab0ca17173bf445124c6232c89d634cfd 100644
--- a/net/quic/platform/impl/quic_chromium_clock_test.cc
+++ b/net/quic/platform/impl/quic_chromium_clock_test.cc
@@ -12,9 +12,9 @@ namespace test {
TEST(QuicChromiumClockTest, Now) {
QuicChromiumClock clock;
- QuicTime start(base::TimeTicks::Now());
+ QuicTime start = clock.Now();
QuicTime now = clock.ApproximateNow();
- QuicTime end(base::TimeTicks::Now());
+ QuicTime end = clock.Now();
EXPECT_LE(start, now);
EXPECT_LE(now, end);
« no previous file with comments | « net/quic/platform/impl/quic_chromium_clock.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698