| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index 5a273b608140c67f1063b6cd7b4f84e726d7a331..64d044c5ac13edb0bc7cea1d4d0734fb2885b8a1 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -641,8 +641,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());
|
|
|