Index: webrtc/p2p/base/turnport_unittest.cc |
diff --git a/webrtc/p2p/base/turnport_unittest.cc b/webrtc/p2p/base/turnport_unittest.cc |
index 2c93ead9dfacb701c042ab7cc85d594fa991de72..da21e5f4dd4969896911f66b2bd3a771730cc560 100644 |
--- a/webrtc/p2p/base/turnport_unittest.cc |
+++ b/webrtc/p2p/base/turnport_unittest.cc |
@@ -629,7 +629,7 @@ TEST_F(TurnPortTest, TestTurnAllocateNonceResetAfterAllocateMismatch) { |
// using timestamp |ts_before| but then get an allocate mismatch error and |
// receive an even newer nonce based on the system clock. |ts_before| is |
// chosen so that the two NONCEs generated by the server will be different. |
- int64_t ts_before = rtc::Time64() - 1; |
+ int64_t ts_before = rtc::TimeMillis() - 1; |
std::string first_nonce = |
turn_server_.server()->SetTimestampForNextNonce(ts_before); |
turn_port_->PrepareAddress(); |