summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_features.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_features.cc')
-rw-r--r--www/chromium/files/patch-base_features.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chromium/files/patch-base_features.cc b/www/chromium/files/patch-base_features.cc
new file mode 100644
index 000000000000..21d6f98ec048
--- /dev/null
+++ b/www/chromium/files/patch-base_features.cc
@@ -0,0 +1,20 @@
+--- base/features.cc.orig 2024-05-21 18:07:39 UTC
++++ base/features.cc
+@@ -9,7 +9,7 @@
+ #include "base/threading/platform_thread.h"
+ #include "build/buildflag.h"
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ #include "base/message_loop/message_pump_libevent.h"
+ #endif
+
+@@ -98,7 +98,7 @@ void Init(EmitThreadControllerProfilerMetadata
+ sequence_manager::internal::ThreadController::InitializeFeatures(
+ emit_thread_controller_profiler_metadata);
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ MessagePumpLibevent::InitializeFeatures();
+ #endif
+