Index: webrtc/base/filerotatingstream.h |
diff --git a/webrtc/base/filerotatingstream.h b/webrtc/base/filerotatingstream.h |
index 9e8e35ddd7f59ef1b54c69ea785c6216ddbd3b18..a8522ff0c5f01d672d7e265a9a797cab0d59d677 100644 |
--- a/webrtc/base/filerotatingstream.h |
+++ b/webrtc/base/filerotatingstream.h |
@@ -11,6 +11,7 @@ |
#ifndef WEBRTC_BASE_FILEROTATINGSTREAM_H_ |
#define WEBRTC_BASE_FILEROTATINGSTREAM_H_ |
+#include <memory> |
#include <string> |
#include <vector> |
@@ -110,7 +111,7 @@ class FileRotatingStream : public StreamInterface { |
const Mode mode_; |
// FileStream is used to write to the current file. |
- scoped_ptr<FileStream> file_stream_; |
+ std::unique_ptr<FileStream> file_stream_; |
// Convenience storage for file names so we don't generate them over and over. |
std::vector<std::string> file_names_; |
size_t max_file_size_; |