| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index f928f39da3773ebd85521f3542230383fb445221..17b22960738a6f9a2b4cf68d7a123c906b5805a6 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -626,8 +626,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());
|
|
|