a04e75e95a
Submitted by: Matthias Wolf (via github) MFH: 2021Q1 Security: https://www.vuxml.org/freebsd/4ed0e43c-5cef-11eb-bafd-3065ec8fd3ec.html
21 lines
841 B
C++
21 lines
841 B
C++
--- content/gpu/gpu_main.cc.orig 2021-01-18 21:28:57 UTC
|
|
+++ content/gpu/gpu_main.cc
|
|
@@ -84,7 +84,7 @@
|
|
#include "ui/gfx/x/x11_switches.h" // nogncheck
|
|
#endif
|
|
|
|
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
|
|
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
|
|
#include "content/gpu/gpu_sandbox_hook_linux.h"
|
|
#include "content/public/common/sandbox_init.h"
|
|
#include "sandbox/policy/linux/sandbox_linux.h"
|
|
@@ -305,7 +305,7 @@ int GpuMain(const MainFunctionParams& parameters) {
|
|
gpu_preferences.message_pump_type);
|
|
}
|
|
#endif
|
|
-#elif defined(OS_LINUX) || defined(OS_CHROMEOS)
|
|
+#elif defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
|
|
#error "Unsupported Linux platform."
|
|
#elif defined(OS_MAC)
|
|
// Cross-process CoreAnimation requires a CFRunLoop to function at all, and
|