Files
brave-core/patches/components-page_info-page_info.cc.patch

13 lines
707 B
Diff

diff --git a/components/page_info/page_info.cc b/components/page_info/page_info.cc
index dbfe4d918c86c0a90010915ca7f17461064a0570..81b6e3c5cb2c51e599636e0ef70ed6142b7eb26a 100644
--- a/components/page_info/page_info.cc
+++ b/components/page_info/page_info.cc
@@ -1386,6 +1386,7 @@ void PageInfo::PopulatePermissionInfo(PermissionInfo& permission_info,
// second section, the default behavior used when no per-type exception applies.
bool PageInfo::ShouldShowPermission(
const PageInfo::PermissionInfo& info) const {
+ BRAVE_PAGE_INFO_SHOULD_SHOW_PERMISSION
// For the Clapper experiment Chrome should display NOTIFICATIONS
// permission while it is being requested.
#if BUILDFLAG(IS_ANDROID)