Index: webrtc/p2p/base/stunport.cc |
diff --git a/webrtc/p2p/base/stunport.cc b/webrtc/p2p/base/stunport.cc |
index 078070b17fb3e1c2b1c93206c4eabc6253ba0315..8ed8c44887238ca5e260113783a96e21e6731a76 100644 |
--- a/webrtc/p2p/base/stunport.cc |
+++ b/webrtc/p2p/base/stunport.cc |
@@ -87,7 +87,7 @@ class StunBindingRequest : public StunRequest { |
int64_t now = rtc::TimeMillis(); |
if (WithinLifetime(now) && |
- rtc::TimeDiff64(now, start_time_) < RETRY_TIMEOUT) { |
+ rtc::TimeDiff(now, start_time_) < RETRY_TIMEOUT) { |
port_->requests_.SendDelayed( |
new StunBindingRequest(port_, server_addr_, start_time_, lifetime_), |
port_->stun_keepalive_delay()); |
@@ -105,7 +105,7 @@ class StunBindingRequest : public StunRequest { |
// Returns true if |now| is within the lifetime of the request (a negative |
// lifetime means infinite). |
bool WithinLifetime(int64_t now) const { |
- return lifetime_ < 0 || rtc::TimeDiff64(now, start_time_) <= lifetime_; |
+ return lifetime_ < 0 || rtc::TimeDiff(now, start_time_) <= lifetime_; |
} |
UDPPort* port_; |
const rtc::SocketAddress server_addr_; |