aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_begin__frame__provider.cc
blob: 2986f4a434522c2a1ffb4f95e6679381b2586366 (plain) (blame)
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	2023-08-28 20:17:35 UTC
+++ third_party/blink/renderer/platform/graphics/begin_frame_provider.cc
@@ -71,8 +71,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(