Fix CompositorFrameReporter dropped frame test
CompositorFrameReporterTest.SubmittedDroppedFrameReportingTest calls DroppedFrame() explicitly and then terminates reporter with kPresentedFrame status. This is not what happens in production code. We just need to terminate frame with kDidNotPresentedFrame or kReplacedByNewReporter and it will take care of reporting a dropped frame. Bug: None Change-Id: I43059f31e77ec14818b856e51d24e7ea7a6c4545 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2037340Reviewed-by:Behdad Bakhshinategh <behdadb@chromium.org> Reviewed-by:
Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Mohsen Izadi <mohsen@chromium.org> Cr-Commit-Position: refs/heads/master@{#738248}
Showing
Please register or sign in to comment