content: Fix race that can cause premature resize ack
When the main thread receives DidCommitAndSwap from the impl thread and the main thread hasn't commited after resize, DidCommitAndSwap belongs to the previous commit and should not be used for acking the resize. In other words, (Resize,DidCommit,DidCommitAndSwap) should ack the resize but (DidCommit,Resize,DidCommitAndSwap) should not. Change-Id: Ib55c4acb82a90560e1a75d7327e08321b1bf7f0c Reviewed-on: https://chromium-review.googlesource.com/883909Reviewed-by:Antoine Labour <piman@chromium.org> Reviewed-by:
Fady Samuel <fsamuel@chromium.org> Commit-Queue: Saman Sami <samans@chromium.org> Cr-Commit-Position: refs/heads/master@{#533305}
Showing
Please register or sign in to comment