Add CHECK when removing SurfaceId from referenced_surfaces_
This surface ID should still be contained in referenced_surfaces_, but there are crashes sometimes because the iterator from find is invalid. Add CHECKs to see if we're attempting to remove the wrong surface id, or if it's just not found in the structure. Bug: 745684 Change-Id: Idf4a94f01e55ec20c51b6f72a4c7603c40226df6 Reviewed-on: https://chromium-review.googlesource.com/580404 Commit-Queue: John Bauman <jbauman@chromium.org> Reviewed-by:danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#488795}
Showing
Please register or sign in to comment