Index: chrome/browser/custom_handlers/protocol_handler_registry_factory.cc |
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_factory.cc b/chrome/browser/custom_handlers/protocol_handler_registry_factory.cc |
index eaebd5ed0a3b9cff9a7783d023cdc1c3757c2e2e..e144cd5c576311afe4f7cc735b47d2bb448766b8 100644 |
--- a/chrome/browser/custom_handlers/protocol_handler_registry_factory.cc |
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_factory.cc |
@@ -50,9 +50,9 @@ bool ProtocolHandlerRegistryFactory::ServiceIsNULLWhileTesting() const { |
} |
ProfileKeyedService* ProtocolHandlerRegistryFactory::BuildServiceInstanceFor( |
- Profile* profile) const { |
+ content::BrowserContext* profile) const { |
ProtocolHandlerRegistry* registry = new ProtocolHandlerRegistry( |
- profile, new ProtocolHandlerRegistry::Delegate()); |
+ static_cast<Profile*>(profile), new ProtocolHandlerRegistry::Delegate()); |
#if defined(OS_CHROMEOS) |
// If installing defaults, they must be installed prior calling |