diff options
Diffstat (limited to 'devel/electron21/files/patch-third__party_blink_renderer_platform_graphics_begin__frame__provider.cc')
-rw-r--r-- | devel/electron21/files/patch-third__party_blink_renderer_platform_graphics_begin__frame__provider.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/electron21/files/patch-third__party_blink_renderer_platform_graphics_begin__frame__provider.cc b/devel/electron21/files/patch-third__party_blink_renderer_platform_graphics_begin__frame__provider.cc new file mode 100644 index 000000000000..4dc586769b44 --- /dev/null +++ b/devel/electron21/files/patch-third__party_blink_renderer_platform_graphics_begin__frame__provider.cc @@ -0,0 +1,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( |