summaryrefslogtreecommitdiffstats
path: root/src/core/custom_handlers/protocol_handler_registry_factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/custom_handlers/protocol_handler_registry_factory.cpp')
-rw-r--r--src/core/custom_handlers/protocol_handler_registry_factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/custom_handlers/protocol_handler_registry_factory.cpp b/src/core/custom_handlers/protocol_handler_registry_factory.cpp
index 14af1ed28..50b17006b 100644
--- a/src/core/custom_handlers/protocol_handler_registry_factory.cpp
+++ b/src/core/custom_handlers/protocol_handler_registry_factory.cpp
@@ -63,7 +63,7 @@ bool ProtocolHandlerRegistryFactory::ServiceIsNULLWhileTesting() const
KeyedService *ProtocolHandlerRegistryFactory::BuildServiceInstanceFor(content::BrowserContext *context) const
{
custom_handlers::ProtocolHandlerRegistry *registry =
- new custom_handlers::ProtocolHandlerRegistry(context,
+ new custom_handlers::ProtocolHandlerRegistry(/*prefs*/ nullptr,
std::make_unique<ProtocolHandlerRegistryDelegateQt>());
// Must be called as a part of the creation process.