summaryrefslogtreecommitdiffstats
path: root/src/core/custom_handlers/protocol_handler_registry_factory.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-05-19 12:45:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-08-04 11:21:04 +0200
commit00e2201264e3839570fbf64817eeca931a630b01 (patch)
tree31757a5be2aac9b23d143701b6275d83d33de1a5 /src/core/custom_handlers/protocol_handler_registry_factory.cpp
parentfae023b184f6c044e85f4ca6052c306d519e2e85 (diff)
Adaptations for Chromium 102
Pick-to: 6.4 Change-Id: I7ef0ad616f2ea0fae482253335e95998aa2d360e Reviewed-by: Michal Klocek <michal.klocek@qt.io>
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.