summaryrefslogtreecommitdiff
path: root/chromium/third_party/webrtc/base/filerotatingstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/webrtc/base/filerotatingstream.h')
-rw-r--r--chromium/third_party/webrtc/base/filerotatingstream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/webrtc/base/filerotatingstream.h b/chromium/third_party/webrtc/base/filerotatingstream.h
index 9e8e35ddd7f..a8522ff0c5f 100644
--- a/chromium/third_party/webrtc/base/filerotatingstream.h
+++ b/chromium/third_party/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_;