Index: mojo/edk/system/local_data_pipe_impl.h |
diff --git a/mojo/edk/system/local_data_pipe_impl.h b/mojo/edk/system/local_data_pipe_impl.h |
index 07b4c1e865476489cc5658c1e84452e06507fd2f..2564a017954c603ec2389a7806112ff6ed13d664 100644 |
--- a/mojo/edk/system/local_data_pipe_impl.h |
+++ b/mojo/edk/system/local_data_pipe_impl.h |
@@ -5,8 +5,9 @@ |
#ifndef MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_IMPL_H_ |
#define MOJO_EDK_SYSTEM_LOCAL_DATA_PIPE_IMPL_H_ |
+#include <memory> |
+ |
#include "base/memory/aligned_memory.h" |
-#include "base/memory/scoped_ptr.h" |
#include "mojo/edk/system/data_pipe_impl.h" |
#include "mojo/edk/system/system_impl_export.h" |
#include "mojo/public/cpp/system/macros.h" |
@@ -82,7 +83,7 @@ class MOJO_SYSTEM_IMPL_EXPORT LocalDataPipeImpl final : public DataPipeImpl { |
// no greater than |current_num_bytes_|. |
void MarkDataAsConsumed(size_t num_bytes); |
- scoped_ptr<char, base::AlignedFreeDeleter> buffer_; |
+ std::unique_ptr<char, base::AlignedFreeDeleter> buffer_; |
// Circular buffer. |
size_t start_index_; |
size_t current_num_bytes_; |