diff --git a/components/brave_rewards/browser/rewards_service_impl_jp_unittest.cc b/components/brave_rewards/browser/rewards_service_impl_jp_unittest.cc index dd375f78af4..31f01419128 100644 --- a/components/brave_rewards/browser/rewards_service_impl_jp_unittest.cc +++ b/components/brave_rewards/browser/rewards_service_impl_jp_unittest.cc @@ -13,8 +13,6 @@ #include "brave/components/brave_rewards/core/global_constants.h" #include "brave/components/greaselion/browser/buildflags/buildflags.h" #include "brave/components/l10n/common/test/scoped_default_locale.h" -#include "chrome/browser/bitmap_fetcher/bitmap_fetcher_service_factory.h" -#include "chrome/browser/favicon/favicon_service_factory.h" #include "chrome/browser/profiles/profile.h" #include "chrome/test/base/testing_browser_process.h" #include "components/prefs/pref_service.h" @@ -42,10 +40,7 @@ class RewardsServiceJPTest : public testing::Test { profile_ = CreateBraveRewardsProfile(temp_dir_.GetPath()); ASSERT_TRUE(profile_); rewards_service_ = std::make_unique( - profile()->GetPrefs(), profile()->GetPath(), - FaviconServiceFactory::GetForProfile( - profile(), ServiceAccessType::EXPLICIT_ACCESS), - BitmapFetcherServiceFactory::GetForBrowserContext(profile()), + profile()->GetPrefs(), profile()->GetPath(), nullptr, nullptr, profile()->GetDefaultStoragePartition(), #if BUILDFLAG(ENABLE_GREASELION) nullptr, diff --git a/components/brave_rewards/browser/rewards_service_impl_unittest.cc b/components/brave_rewards/browser/rewards_service_impl_unittest.cc index a65a55e6ee9..a8bbd91b47c 100644 --- a/components/brave_rewards/browser/rewards_service_impl_unittest.cc +++ b/components/brave_rewards/browser/rewards_service_impl_unittest.cc @@ -18,8 +18,6 @@ #include "brave/components/brave_rewards/core/global_constants.h" #include "brave/components/greaselion/browser/buildflags/buildflags.h" #include "brave/components/l10n/common/test/scoped_default_locale.h" -#include "chrome/browser/bitmap_fetcher/bitmap_fetcher_service_factory.h" -#include "chrome/browser/favicon/favicon_service_factory.h" #include "chrome/browser/profiles/profile.h" #include "chrome/test/base/testing_browser_process.h" #include "components/prefs/pref_service.h" @@ -69,10 +67,7 @@ class RewardsServiceTest : public testing::Test { ASSERT_TRUE(profile_.get()); rewards_service_ = std::make_unique( - profile()->GetPrefs(), profile()->GetPath(), - FaviconServiceFactory::GetForProfile( - profile(), ServiceAccessType::EXPLICIT_ACCESS), - BitmapFetcherServiceFactory::GetForBrowserContext(profile()), + profile()->GetPrefs(), profile()->GetPath(), nullptr, nullptr, profile()->GetDefaultStoragePartition(), #if BUILDFLAG(ENABLE_GREASELION) nullptr,