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

Unified Diff: webrtc/p2p/base/stunrequest.cc

Issue 1923213002: Rename rtc::Time64 --> rtc::TimeMillis. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
Index: webrtc/p2p/base/stunrequest.cc
diff --git a/webrtc/p2p/base/stunrequest.cc b/webrtc/p2p/base/stunrequest.cc
index 546dd157d9949f5128f44a17d08f06cf5252450b..48ec2b0a922fe96c1789b5ce5e44f00ac92ddabe 100644
--- a/webrtc/p2p/base/stunrequest.cc
+++ b/webrtc/p2p/base/stunrequest.cc
@@ -192,7 +192,7 @@ const StunMessage* StunRequest::msg() const {
}
int StunRequest::Elapsed() const {
- return static_cast<int>(rtc::Time64() - tstamp_);
+ return static_cast<int>(rtc::TimeMillis() - tstamp_);
}
@@ -211,7 +211,7 @@ void StunRequest::OnMessage(rtc::Message* pmsg) {
return;
}
- tstamp_ = rtc::Time64();
+ tstamp_ = rtc::TimeMillis();
rtc::ByteBufferWriter buf;
msg_->Write(&buf);

Powered by Google App Engine
This is Rietveld 408576698