| Index: components/proximity_auth/cryptauth/mock_cryptauth_client.cc
|
| diff --git a/components/proximity_auth/cryptauth/mock_cryptauth_client.cc b/components/proximity_auth/cryptauth/mock_cryptauth_client.cc
|
| index 05f9ac6c33befe86c2521478a02195274507b676..5086dd4c5410fe6bea16246c1cde5caca4109a3c 100644
|
| --- a/components/proximity_auth/cryptauth/mock_cryptauth_client.cc
|
| +++ b/components/proximity_auth/cryptauth/mock_cryptauth_client.cc
|
| @@ -2,9 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/callback.h"
|
| #include "components/proximity_auth/cryptauth/mock_cryptauth_client.h"
|
|
|
| +#include <utility>
|
| +
|
| +#include "base/callback.h"
|
| +
|
| namespace proximity_auth {
|
|
|
| MockCryptAuthClient::MockCryptAuthClient() {
|
| @@ -29,7 +32,7 @@ scoped_ptr<CryptAuthClient> MockCryptAuthClientFactory::CreateInstance() {
|
|
|
| FOR_EACH_OBSERVER(Observer, observer_list_,
|
| OnCryptAuthClientCreated(client.get()));
|
| - return client.Pass();
|
| + return std::move(client);
|
| }
|
|
|
| void MockCryptAuthClientFactory::AddObserver(Observer* observer) {
|
|
|