blob: 4166c28f45bb081b8fe63284763bd2ad9c7e033a (
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-18 10:26:52 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(
|