blob: 33e51bdf717a3230a66b13d098480a9e6edb47ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- third_party/blink/renderer/platform/graphics/begin_frame_provider.cc.orig 2022-06-17 14:20:10 UTC
+++ third_party/blink/renderer/platform/graphics/begin_frame_provider.cc
@@ -76,7 +76,11 @@ void BeginFrameProvider::CreateCompositorFrameSinkIfNe
// Once we are using RAF, this thread is driving Display updates. Update
// priority accordingly.
+ // pledge(2)
+ // stop this baloney
+#if !defined(OS_OPENBSD)
base::PlatformThread::SetCurrentThreadPriority(base::ThreadPriority::DISPLAY);
+#endif
mojo::Remote<mojom::blink::EmbeddedFrameSinkProvider> provider;
Platform::Current()->GetBrowserInterfaceBroker()->GetInterface(
|