| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index 138bb1639bdf5a1d7165677e83528a5434391779..d0ac3b42b5e1cd819941b51617eab732c7bb68da 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -628,8 +628,7 @@ void TestingProfile::CreateProfilePolicyConnector() {
|
| #else
|
| service.reset(new policy::PolicyServiceStub());
|
| #endif
|
| - profile_policy_connector_.reset(
|
| - new policy::ProfilePolicyConnector(this));
|
| + profile_policy_connector_.reset(new policy::ProfilePolicyConnector());
|
| profile_policy_connector_->InitForTesting(service.Pass());
|
| policy::ProfilePolicyConnectorFactory::GetInstance()->SetServiceForTesting(
|
| this, profile_policy_connector_.get());
|
|
|