blob: 3c36bcde072fb4583c5ffdeb579cd9c96d979a1d (
plain) (
tree)
|
|
--- third_party/blink/renderer/platform/widget/compositing/categorized_worker_pool.cc.orig 2022-11-30 08:12:58 UTC
+++ third_party/blink/renderer/platform/widget/compositing/categorized_worker_pool.cc
@@ -241,7 +241,7 @@ void CategorizedWorkerPoolImpl::Start(int max_concurre
"CompositorTileWorkerBackground", thread_options, this,
background_thread_prio_categories,
&has_task_for_background_priority_thread_cv_);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
thread->SetBackgroundingCallback(
Thread::MainThread()->GetTaskRunner(MainThreadTaskRunnerRestricted()),
base::BindOnce([](base::PlatformThreadId thread_id) {
|