diff options
Diffstat (limited to 'devel/electron21/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc')
-rw-r--r-- | devel/electron21/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron21/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc b/devel/electron21/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc new file mode 100644 index 000000000000..f028e7064cb4 --- /dev/null +++ b/devel/electron21/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc @@ -0,0 +1,11 @@ +--- third_party/blink/renderer/platform/scheduler/common/thread.cc.orig 2022-09-24 10:57:32 UTC ++++ third_party/blink/renderer/platform/scheduler/common/thread.cc +@@ -86,7 +86,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) { |