diff options
Diffstat (limited to 'chromeos/attestation/attestation_flow.cc')
-rw-r--r-- | chromeos/attestation/attestation_flow.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromeos/attestation/attestation_flow.cc b/chromeos/attestation/attestation_flow.cc index 1f0db41..f36403a 100644 --- a/chromeos/attestation/attestation_flow.cc +++ b/chromeos/attestation/attestation_flow.cc @@ -44,11 +44,11 @@ const char AttestationFlow::kEnterpriseMachineKey[] = "attest-ent-machine"; AttestationFlow::AttestationFlow(cryptohome::AsyncMethodCaller* async_caller, CryptohomeClient* cryptohome_client, - ServerProxy* server_proxy) + scoped_ptr<ServerProxy> server_proxy) : ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)), async_caller_(async_caller), cryptohome_client_(cryptohome_client), - server_proxy_(server_proxy) { + server_proxy_(server_proxy.Pass()) { } AttestationFlow::~AttestationFlow() { |