| Index: remoting/host/security_key/remote_security_key_message_reader_impl.cc
|
| diff --git a/remoting/host/security_key/remote_security_key_message_reader_impl.cc b/remoting/host/security_key/remote_security_key_message_reader_impl.cc
|
| index 0431742ff77d8c2d8210b5bfbc3c91458ae39a22..55c4061d1af7b7366f307885e3fb5ce0e04ac87f 100644
|
| --- a/remoting/host/security_key/remote_security_key_message_reader_impl.cc
|
| +++ b/remoting/host/security_key/remote_security_key_message_reader_impl.cc
|
| @@ -95,7 +95,7 @@ void RemoteSecurityKeyMessageReaderImpl::ReadMessage() {
|
| return;
|
| }
|
|
|
| - scoped_ptr<SecurityKeyMessage> message(new SecurityKeyMessage());
|
| + std::unique_ptr<SecurityKeyMessage> message(new SecurityKeyMessage());
|
| if (!message->ParseMessage(message_data)) {
|
| LOG(ERROR) << "Invalid message data received.";
|
| NotifyError();
|
| @@ -120,7 +120,7 @@ void RemoteSecurityKeyMessageReaderImpl::NotifyError() {
|
| }
|
|
|
| void RemoteSecurityKeyMessageReaderImpl::InvokeMessageCallback(
|
| - scoped_ptr<SecurityKeyMessage> message) {
|
| + std::unique_ptr<SecurityKeyMessage> message) {
|
| DCHECK(main_task_runner_->RunsTasksOnCurrentThread());
|
| message_callback_.Run(std::move(message));
|
| }
|
|
|