aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc
blob: 37cba26564fe51bbbd05b445bd72c38b531f9002 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                                               
                                                                  
                                                               


                                                             
                                                  
                                                                              


                                                                       
--- third_party/blink/renderer/platform/scheduler/common/thread.cc.orig	2023-04-28 17:01:32 UTC
+++ third_party/blink/renderer/platform/scheduler/common/thread.cc
@@ -82,7 +82,7 @@ void Thread::CreateAndSetCompositorThread() {
       std::make_unique<scheduler::CompositorThread>(params);
   compositor_thread->Init();
 
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_OPENBSD)
   compositor_thread->GetTaskRunner()->PostTaskAndReplyWithResult(
       FROM_HERE, base::BindOnce(&base::PlatformThread::CurrentId),
       base::BindOnce([](base::PlatformThreadId compositor_thread_id) {