From 2a2611da6432e41bcfbec4a5cdb21287f312abea Mon Sep 17 00:00:00 2001 From: Darnell Andries Date: Fri, 13 Dec 2024 10:44:07 -0800 Subject: [PATCH] Fix `BraveStatsUpdater` instantiation --- browser/brave_browser_process_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/brave_browser_process_impl.cc b/browser/brave_browser_process_impl.cc index 31173497a95a..44eea71dc3b7 100644 --- a/browser/brave_browser_process_impl.cc +++ b/browser/brave_browser_process_impl.cc @@ -431,7 +431,7 @@ BraveBrowserProcessImpl::brave_referrals_service() { brave_stats::BraveStatsUpdater* BraveBrowserProcessImpl::brave_stats_updater() { if (!brave_stats_updater_) { brave_stats_updater_ = std::make_unique( - local_state(), g_browser_process->profile_manager()); + local_state(), profile_manager()); } return brave_stats_updater_.get(); }