Skip to content

Commit

Permalink
Fix build (#20227)
Browse files Browse the repository at this point in the history
* The file was renamed from #19946
  • Loading branch information
sangwoo108 authored Sep 20, 2023
1 parent 1eb3ec1 commit 9a55916
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions browser/ui/webui/webcompat_reporter/webcompat_reporter_ui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "brave/browser/brave_browser_process.h"
#include "brave/browser/ui/brave_shields_data_controller.h"
#include "brave/browser/ui/webui/brave_webui_source.h"
#include "brave/components/brave_shields/browser/ad_block_regional_service_manager.h"
#include "brave/components/brave_shields/browser/ad_block_component_service_manager.h"
#include "brave/components/brave_shields/browser/ad_block_service.h"
#include "brave/components/brave_shields/browser/filter_list_catalog_entry.h"
#include "brave/components/brave_shields/common/pref_names.h"
Expand Down Expand Up @@ -76,12 +76,12 @@ void WebcompatReporterDOMHandler::InitAdditionalParameters(Profile* profile) {
brave_shields::AdBlockService* ad_block_service =
g_brave_browser_process->ad_block_service();
if (ad_block_service != nullptr) {
brave_shields::AdBlockRegionalServiceManager* regional_service_manager =
ad_block_service->regional_service_manager();
CHECK(regional_service_manager);
brave_shields::AdBlockComponentServiceManager* service_manager =
ad_block_service->component_service_manager();
CHECK(service_manager);
for (const brave_shields::FilterListCatalogEntry& entry :
regional_service_manager->GetFilterListCatalog()) {
if (regional_service_manager->IsFilterListEnabled(entry.uuid)) {
service_manager->GetFilterListCatalog()) {
if (service_manager->IsFilterListEnabled(entry.uuid)) {
ad_block_list_names.push_back(entry.title);
}
}
Expand Down

0 comments on commit 9a55916

Please sign in to comment.