| Index: components/policy/core/common/cloud/cloud_policy_client_unittest.cc
|
| diff --git a/components/policy/core/common/cloud/cloud_policy_client_unittest.cc b/components/policy/core/common/cloud/cloud_policy_client_unittest.cc
|
| index e2f6fd690d6f81e154b873635fee23d2255b6691..bed57e72350ae7dbbd7dfaaf9f9a0124f2409d15 100644
|
| --- a/components/policy/core/common/cloud/cloud_policy_client_unittest.cc
|
| +++ b/components/policy/core/common/cloud/cloud_policy_client_unittest.cc
|
| @@ -191,11 +191,9 @@ class CloudPolicyClientTest : public testing::Test {
|
|
|
| request_context_ =
|
| new net::TestURLRequestContextGetter(loop_.task_runner());
|
| - client_.reset(new CloudPolicyClient(kMachineID, kMachineModel,
|
| - kPolicyVerificationKeyHash,
|
| - &service_,
|
| - request_context_,
|
| - &fake_signing_service_));
|
| + client_ = base::MakeUnique<CloudPolicyClient>(kMachineID, kMachineModel,
|
| + &service_, request_context_,
|
| + &fake_signing_service_);
|
| client_->AddPolicyTypeToFetch(policy_type_, std::string());
|
| client_->AddObserver(&observer_);
|
| }
|
|
|