Index: chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc |
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc b/chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc |
index ba317a76abbf414982f71ae49f9ec38a8312af8e..6b0e11c50ae277bccff1e8d363519dc1d7b18623 100644 |
--- a/chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc |
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc |
@@ -209,7 +209,8 @@ scoped_ptr<UserCloudPolicyManagerChromeOS> |
manager->EnableWildcardLoginCheck(username); |
} |
- manager->Init(SchemaRegistryServiceFactory::GetForContext(profile)); |
+ manager->Init( |
+ SchemaRegistryServiceFactory::GetForContext(profile)->registry()); |
manager->Connect(g_browser_process->local_state(), |
device_management_service, |
g_browser_process->system_request_context(), |