pkgsrc-wip/chromium/patches/patch-weblayer_app_content_...

14 lines
563 B
C++

$NetBSD$
--- weblayer/app/content_main_delegate_impl.cc.orig 2020-07-15 18:56:34.000000000 +0000
+++ weblayer/app/content_main_delegate_impl.cc
@@ -219,7 +219,7 @@ bool ContentMainDelegateImpl::ShouldCrea
}
void ContentMainDelegateImpl::PreSandboxStartup() {
-#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))
// Create an instance of the CPU class to parse /proc/cpuinfo and cache
// cpu_brand info.
base::CPU cpu_info;