Avoid deadlocks in CheckForFrameChanges
Some delegates called from this method may try accessing |current_frame_| which can cause deadlocks. Therefore perform these checks right after |current_frame_| is set and lock is released. Bug: 901744 Change-Id: I56605cca8bad81a498a177ff8230598abfdd03fd Reviewed-on: https://chromium-review.googlesource.com/c/1321092Reviewed-by:CJ DiMeglio <lethalantidote@chromium.org> Commit-Queue: Emircan Uysaler <emircan@chromium.org> Cr-Commit-Position: refs/heads/master@{#605947}
Showing
Please register or sign in to comment