Index: chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc |
diff --git a/chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc b/chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc |
index 3f43c4b7d61689c9a9f7e0efa44ffde4e9ff4fd8..f1e5c35650f0310767545a84c9622239c8427d26 100644 |
--- a/chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc |
+++ b/chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc |
@@ -160,7 +160,8 @@ UserCloudPolicyManagerFactory::CreateManagerForOriginalBrowserContext( |
base::MessageLoopProxy::current(), |
file_task_runner, |
io_task_runner)); |
- manager->Init(SchemaRegistryServiceFactory::GetForContext(context)); |
+ manager->Init( |
+ SchemaRegistryServiceFactory::GetForContext(context)->registry()); |
manager_wrappers_[context] = new ManagerWrapper(manager.get()); |
return manager.Pass(); |
} |