Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure unique entries in frame_timing_details_
CompositorFrameSinkSupport::DidPresentCompositorFrame() keeps |frame_timing_details_| map keyed on CompositorFrame frame_tokens. These are supposed to be unique but a malicious renderer could violate that assumption. Convert some DCHECKs into CHECKs to guard against problems related to this. (cherry picked from commit 9b62ab5) Bug: 1458819 Change-Id: Ib0b9551d18ea421957e0dce49a2593043f4abb12 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4673638 Reviewed-by: Jonathan Ross <jonross@chromium.org> Commit-Queue: Kyle Charbonneau <kylechar@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1169287} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4682626 Cr-Commit-Position: refs/branch-heads/5845@{#469} Cr-Branched-From: 5a5dff6-refs/heads/main@{#1160321}
- Loading branch information