Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index bc655aa35e16422210ecc436412b6d3ddb818eef..8536364198948b2bab7bf6414de8f2b5692fa171 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -635,8 +635,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()); |