aboutsummaryrefslogtreecommitdiff
path: root/devel/electron12/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc
blob: ad8cda2706c120ecaff731bfee50544bbc40d176 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig	2021-01-07 00:36:43 UTC
+++ third_party/blink/renderer/platform/graphics/video_frame_submitter.cc
@@ -192,7 +192,7 @@ void VideoFrameSubmitter::OnBeginFrame(
     if (viz::FrameTokenGT(pair.key, *next_frame_token_))
       continue;
     auto& feedback = pair.value.presentation_feedback;
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
     // TODO: On Linux failure flag is unreliable, and perfectly rendered frames
     // are reported as failures all the time.
     bool presentation_failure = false;