Chromium Code Reviews| Index: webrtc/base/fakeclock.h |
| diff --git a/webrtc/base/fakeclock.h b/webrtc/base/fakeclock.h |
| index 4aecc54cc4ffee3e894cd4fef97760fce69338e8..7b13f2fed4736bf8c1f10611699d42e9c0c0bb7e 100644 |
| --- a/webrtc/base/fakeclock.h |
| +++ b/webrtc/base/fakeclock.h |
| @@ -26,18 +26,18 @@ class FakeClock : public ClockInterface { |
| ~FakeClock() override {} |
| // ClockInterface implementation. |
| - uint64_t TimeNanos() const override; |
| + int64_t TimeNanos() const override; |
| // Methods that can be used by the test to control the time. |
| // Should only be used to set a time in the future. |
| - void SetTimeNanos(uint64_t nanos); |
| + void SetTimeNanos(int64_t nanos); |
| void AdvanceTime(TimeDelta delta); |
| private: |
| CriticalSection lock_; |
| - uint64_t time_ GUARDED_BY(lock_) = 0u; |
| + int64_t time_ GUARDED_BY(lock_) = 0u; |
|
hbos
2016/11/18 15:23:41
nit: 0
|
| }; |
| // Helper class that sets itself as the global clock in its constructor and |