Index: chromeos/attestation/attestation_flow.cc |
diff --git a/chromeos/attestation/attestation_flow.cc b/chromeos/attestation/attestation_flow.cc |
index b60e1947c3916fec80c44eddb8dc7478a900b952..05bcefc3fd05b3beba27270461ef37df4296eb03 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() { |