| Index: device/serial/serial_connection.h
|
| diff --git a/device/serial/serial_connection.h b/device/serial/serial_connection.h
|
| index 7a88d6b7423448f31eb1e5c793af2a409582ce5f..32c2ca2b1cbe9b15d194a9f074fb33920341f1ee 100644
|
| --- a/device/serial/serial_connection.h
|
| +++ b/device/serial/serial_connection.h
|
| @@ -7,9 +7,10 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "device/serial/serial.mojom.h"
|
| #include "mojo/public/cpp/bindings/strong_binding.h"
|
|
|
| @@ -43,9 +44,9 @@ class SerialConnection : public serial::Connection {
|
| void Flush(const mojo::Callback<void(bool)>& callback) override;
|
|
|
| private:
|
| - void OnSendPipeReady(scoped_ptr<ReadOnlyBuffer> buffer);
|
| + void OnSendPipeReady(std::unique_ptr<ReadOnlyBuffer> buffer);
|
| void OnSendCancelled(int32_t error);
|
| - void OnReceivePipeReady(scoped_ptr<WritableBuffer> buffer);
|
| + void OnReceivePipeReady(std::unique_ptr<WritableBuffer> buffer);
|
|
|
| scoped_refptr<SerialIoHandler> io_handler_;
|
| scoped_refptr<DataSinkReceiver> receiver_;
|
|
|