| Index: remoting/host/client_session.cc
|
| diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
|
| index b946a0a772abbe088d7cd08914aa8f5134a3fe65..4dbf97e2a1f14f9203e28530ba3fb7c40f8eee15 100644
|
| --- a/remoting/host/client_session.cc
|
| +++ b/remoting/host/client_session.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "remoting/host/client_session.h"
|
|
|
| -#include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "base/task.h"
|
| #include "media/base/callback.h"
|
| #include "remoting/host/user_authenticator.h"
|
| @@ -45,7 +45,7 @@ void ClientSession::BeginSessionRequest(
|
| media::AutoTaskRunner done_runner(done);
|
|
|
| bool success = false;
|
| - scoped_ptr<UserAuthenticator> authenticator(auth_factory_.Run());
|
| + scoped_refptr<UserAuthenticator> authenticator(auth_factory_.Run());
|
| switch (credentials->type()) {
|
| case protocol::PASSWORD:
|
| success = authenticator->Authenticate(credentials->username(),
|
|
|