aboutsummaryrefslogblamecommitdiff
path: root/devel/electron23/files/patch-third__party_blink_renderer_platform_widget_compositing_categorized__worker__pool.cc
blob: 3c36bcde072fb4583c5ffdeb579cd9c96d979a1d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                       
--- 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) {