aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-chrome_common_controlled__frame_controlled__frame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/ungoogled-chromium/files/patch-chrome_common_controlled__frame_controlled__frame.cc')
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_controlled__frame_controlled__frame.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_controlled__frame_controlled__frame.cc b/www/ungoogled-chromium/files/patch-chrome_common_controlled__frame_controlled__frame.cc
new file mode 100644
index 000000000000..1d24259d7c1a
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_common_controlled__frame_controlled__frame.cc
@@ -0,0 +1,20 @@
+--- chrome/common/controlled_frame/controlled_frame.cc.orig 2025-11-01 06:40:37 UTC
++++ chrome/common/controlled_frame/controlled_frame.cc
+@@ -18,7 +18,7 @@
+ #include "third_party/blink/public/common/features.h"
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include "components/webapps/isolated_web_apps/scheme.h"
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
+ // BUILDFLAG(IS_CHROMEOS)
+@@ -89,7 +89,7 @@ bool AvailabilityCheck(const std::string& api_full_nam
+ }
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // Verify that the current context is an Isolated Web App and the API name is
+ // in our expected list.
+ return (extension == nullptr) && url.SchemeIs(webapps::kIsolatedAppScheme) &&