blob: 4dc586769b440a4d0ffd26fcf6de134f4544d303 (
plain) (
tree)
|
|
--- 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(
|