| Index: remoting/host/chromoting_host.cc
|
| diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
|
| index 65727137b934e82d076909e164840c4a5f2e9171..f655c7e63af1dfe1311d504fc36078aade51201a 100644
|
| --- a/remoting/host/chromoting_host.cc
|
| +++ b/remoting/host/chromoting_host.cc
|
| @@ -125,7 +125,7 @@ void ChromotingHost::RemoveStatusObserver(HostStatusObserver* observer) {
|
| }
|
|
|
| void ChromotingHost::AddExtension(std::unique_ptr<HostExtension> extension) {
|
| - extensions_.push_back(extension.release());
|
| + extensions_.push_back(std::move(extension));
|
| }
|
|
|
| void ChromotingHost::SetAuthenticatorFactory(
|
| @@ -261,7 +261,7 @@ void ChromotingHost::OnIncomingSession(
|
| // Create a ClientSession object.
|
| clients_.push_back(base::MakeUnique<ClientSession>(
|
| this, std::move(connection), desktop_environment_factory_, options,
|
| - max_session_duration_, pairing_registry_, extensions_.get()));
|
| + max_session_duration_, pairing_registry_, extensions_));
|
| }
|
|
|
| } // namespace remoting
|
|
|