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

Unified Diff: webrtc/system_wrappers/include/clock.h

Issue 1937693002: Replace scoped_ptr with unique_ptr everywhere (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@unique5
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
« no previous file with comments | « webrtc/system_wrappers/include/aligned_malloc.h ('k') | webrtc/system_wrappers/include/data_log_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/system_wrappers/include/clock.h
diff --git a/webrtc/system_wrappers/include/clock.h b/webrtc/system_wrappers/include/clock.h
index f443057bea364a3aa8f3f42e5c24cf2a41bbe6f6..8245ecd9f45a1be1013e658809eb53a2399fc3a9 100644
--- a/webrtc/system_wrappers/include/clock.h
+++ b/webrtc/system_wrappers/include/clock.h
@@ -11,6 +11,8 @@
#ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_CLOCK_H_
#define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_CLOCK_H_
+#include <memory>
+
#include "webrtc/base/scoped_ptr.h"
#include "webrtc/system_wrappers/include/rw_lock_wrapper.h"
#include "webrtc/typedefs.h"
@@ -76,7 +78,7 @@ class SimulatedClock : public Clock {
private:
int64_t time_us_;
- rtc::scoped_ptr<RWLockWrapper> lock_;
+ std::unique_ptr<RWLockWrapper> lock_;
};
}; // namespace webrtc
« no previous file with comments | « webrtc/system_wrappers/include/aligned_malloc.h ('k') | webrtc/system_wrappers/include/data_log_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698