aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-weblayer_app_content__main__delegate__impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-weblayer_app_content__main__delegate__impl.cc')
-rw-r--r--devel/electron13/files/patch-weblayer_app_content__main__delegate__impl.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-weblayer_app_content__main__delegate__impl.cc b/devel/electron13/files/patch-weblayer_app_content__main__delegate__impl.cc
new file mode 100644
index 000000000000..5eaad17840d1
--- /dev/null
+++ b/devel/electron13/files/patch-weblayer_app_content__main__delegate__impl.cc
@@ -0,0 +1,13 @@
+--- weblayer/app/content_main_delegate_impl.cc.orig 2021-07-15 19:14:09 UTC
++++ weblayer/app/content_main_delegate_impl.cc
+@@ -229,8 +229,8 @@ bool ContentMainDelegateImpl::ShouldCreateFeatureList(
+ void ContentMainDelegateImpl::PreSandboxStartup() {
+ // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
+ // complete.
+-#if defined(ARCH_CPU_ARM_FAMILY) && \
+- (defined(OS_ANDROID) || defined(OS_LINUX) || \
++#if defined(ARCH_CPU_ARM_FAMILY) && \
++ (defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_BSD) \
+ BUILDFLAG(IS_CHROMEOS_LACROS))
+ // Create an instance of the CPU class to parse /proc/cpuinfo and cache
+ // cpu_brand info.