aboutsummaryrefslogblamecommitdiff
path: root/devel/electron23/files/patch-third__party_blink_renderer_platform_graphics_begin__frame__provider.cc
blob: 4dc586769b440a4d0ffd26fcf6de134f4544d303 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                                       
--- third_party/blink/renderer/platform/graphics/begin_frame_provider.cc.orig	2022-08-31 12:19:35 UTC
+++ third_party/blink/renderer/platform/graphics/begin_frame_provider.cc
@@ -76,8 +76,12 @@ void BeginFrameProvider::CreateCompositorFrameSinkIfNe
 
   // Once we are using RAF, this thread is driving user interactive display
   // updates. Update priority accordingly.
+  // pledge(2)
+  // stop this baloney
+#if !defined(OS_OPENBSD)
   base::PlatformThread::SetCurrentThreadType(
       base::ThreadType::kDisplayCritical);
+#endif
 
   mojo::Remote<mojom::blink::EmbeddedFrameSinkProvider> provider;
   Platform::Current()->GetBrowserInterfaceBroker()->GetInterface(