Index: webrtc/system_wrappers/source/file_impl.h |
diff --git a/webrtc/system_wrappers/source/file_impl.h b/webrtc/system_wrappers/source/file_impl.h |
index 06ba58200bb909e91bfb5797fe347bd00da00f63..8764f720f306c3c9155ec4da2e5f06c2c74280d1 100644 |
--- a/webrtc/system_wrappers/source/file_impl.h |
+++ b/webrtc/system_wrappers/source/file_impl.h |
@@ -13,6 +13,8 @@ |
#include <stdio.h> |
+#include <memory> |
+ |
#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/system_wrappers/include/file_wrapper.h" |
@@ -52,7 +54,7 @@ class FileWrapperImpl : public FileWrapper { |
int CloseFileImpl(); |
int FlushImpl(); |
- rtc::scoped_ptr<RWLockWrapper> rw_lock_; |
+ std::unique_ptr<RWLockWrapper> rw_lock_; |
FILE* id_; |
bool managed_file_handle_; |