Index: chrome/test/testing_browser_process.cc |
diff --git a/chrome/test/testing_browser_process.cc b/chrome/test/testing_browser_process.cc |
index 59b127524f9479d89eef3cd655e8eafb21a6ed09..5f55f685f4fcd617f50d889273c64f760c7a4542 100644 |
--- a/chrome/test/testing_browser_process.cc |
+++ b/chrome/test/testing_browser_process.cc |
@@ -88,15 +88,9 @@ PrefService* TestingBrowserProcess::local_state() { |
policy::BrowserPolicyConnector* |
TestingBrowserProcess::browser_policy_connector() { |
- if (!browser_policy_connector_.get()) { |
- const policy::ConfigurationPolicyProvider::PolicyDefinitionList* |
- policy_list = policy::ConfigurationPolicyPrefStore:: |
- GetChromePolicyDefinitionList(); |
+ if (!browser_policy_connector_.get()) |
browser_policy_connector_.reset( |
- new policy::BrowserPolicyConnector( |
- new policy::DummyConfigurationPolicyProvider(policy_list), |
- new policy::DummyConfigurationPolicyProvider(policy_list))); |
- } |
+ policy::BrowserPolicyConnector::CreateForTests()); |
return browser_policy_connector_.get(); |
} |