Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 0497fbd5fbdcac93f58e04c5433e75b1bd3f2a32..12ab5cd6d8b2e6958f79a80415d4007785d563b5 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -791,7 +791,8 @@ if (!policy_service_) { |
#endif |
} |
profile_policy_connector_.reset(new policy::ProfilePolicyConnector()); |
- profile_policy_connector_->InitForTesting(policy_service_.Pass()); |
+ profile_policy_connector_->InitForTesting( |
+ policy_service_.Pass(), nullptr /* no user_cloud_policy_manager */); |
policy::ProfilePolicyConnectorFactory::GetInstance()->SetServiceForTesting( |
this, profile_policy_connector_.get()); |
CHECK_EQ(profile_policy_connector_.get(), |