| Index: components/policy/core/common/proxy_policy_provider.cc
|
| diff --git a/components/policy/core/common/proxy_policy_provider.cc b/components/policy/core/common/proxy_policy_provider.cc
|
| index 7a8919759c20fdbe9d0535a18f4df3e587518483..74f95c9af172fd8df98190b0ca37bf1be4860b7f 100644
|
| --- a/components/policy/core/common/proxy_policy_provider.cc
|
| +++ b/components/policy/core/common/proxy_policy_provider.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "components/policy/core/common/proxy_policy_provider.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "components/policy/core/common/policy_bundle.h"
|
| @@ -48,7 +50,7 @@ void ProxyPolicyProvider::RefreshPolicies() {
|
| // if SetDelegate() was never called before.
|
| scoped_ptr<PolicyBundle> bundle(new PolicyBundle());
|
| bundle->CopyFrom(policies());
|
| - UpdatePolicy(bundle.Pass());
|
| + UpdatePolicy(std::move(bundle));
|
| }
|
| }
|
|
|
| @@ -57,7 +59,7 @@ void ProxyPolicyProvider::OnUpdatePolicy(
|
| DCHECK_EQ(delegate_, provider);
|
| scoped_ptr<PolicyBundle> bundle(new PolicyBundle());
|
| bundle->CopyFrom(delegate_->policies());
|
| - UpdatePolicy(bundle.Pass());
|
| + UpdatePolicy(std::move(bundle));
|
| }
|
|
|
| } // namespace policy
|
|
|