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

Unified Diff: webrtc/base/fakeclock.cc

Issue 2514553003: Change rtc::TimeNanos and rtc::TimeMicros return value from uint64_t to int64_t. (Closed)
Patch Set: Rebased, on top of fixed BoringSSL TimeCallback.' Created 4 years, 1 month 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 | « webrtc/base/fakeclock.h ('k') | webrtc/base/opensslstreamadapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/fakeclock.cc
diff --git a/webrtc/base/fakeclock.cc b/webrtc/base/fakeclock.cc
index bcd720ff742f2687f6c0bb05c5e60672edec6314..d95408f6a8b18ed262a943a05af8bc133d13bad4 100644
--- a/webrtc/base/fakeclock.cc
+++ b/webrtc/base/fakeclock.cc
@@ -15,12 +15,12 @@
namespace rtc {
-uint64_t FakeClock::TimeNanos() const {
+int64_t FakeClock::TimeNanos() const {
CritScope cs(&lock_);
return time_;
}
-void FakeClock::SetTimeNanos(uint64_t nanos) {
+void FakeClock::SetTimeNanos(int64_t nanos) {
{
CritScope cs(&lock_);
RTC_DCHECK(nanos >= time_);
« no previous file with comments | « webrtc/base/fakeclock.h ('k') | webrtc/base/opensslstreamadapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698