Files
brave-core/patches/chrome-browser-sync-sync_service_factory.cc.patch

14 lines
670 B
Diff

diff --git a/chrome/browser/sync/sync_service_factory.cc b/chrome/browser/sync/sync_service_factory.cc
index 788c669fac0981d9e60f46961ab4954ad9245108..07b9a78c074f04194933885a4c5b6d60fc3a30d3 100644
--- a/chrome/browser/sync/sync_service_factory.cc
+++ b/chrome/browser/sync/sync_service_factory.cc
@@ -459,7 +459,7 @@ std::unique_ptr<KeyedService> BuildSyncService(
}
auto sync_service =
- std::make_unique<syncer::SyncServiceImpl>(std::move(init_params));
+ BRAVE_BUILD_SERVICE_INSTANCE_FOR
sync_service->Initialize(CreateControllers(profile, sync_service.get()));
// Notify the PasswordStore of complete initialisation to resolve a circular