| Index: chrome/browser/policy/profile_policy_connector_factory.cc | 
| diff --git a/chrome/browser/policy/profile_policy_connector_factory.cc b/chrome/browser/policy/profile_policy_connector_factory.cc | 
| index 8089a3d2ce846440b30e9330d060b13db4be4957..5f21949dd2a13f4631d8693db29bdfcd4dff53f0 100644 | 
| --- a/chrome/browser/policy/profile_policy_connector_factory.cc | 
| +++ b/chrome/browser/policy/profile_policy_connector_factory.cc | 
| @@ -91,7 +91,8 @@ ProfilePolicyConnectorFactory::CreateForProfileInternal( | 
| CloudPolicyManager* user_cloud_policy_manager = NULL; | 
|  | 
| #if defined(ENABLE_CONFIGURATION_POLICY) | 
| -  schema_registry = SchemaRegistryServiceFactory::GetForContext(profile); | 
| +  schema_registry = | 
| +      SchemaRegistryServiceFactory::GetForContext(profile)->registry(); | 
|  | 
| #if defined(OS_CHROMEOS) | 
| chromeos::User* user = NULL; | 
|  |