Make TakeFrontBuffer a deferred message

If TakeFrontBuffer is sent as an independent IPC message, it's possible
for it to be sequenced incorrectly with the preceding ReturnFrontBuffer
message if there was no flush in between.

This is a speculative fix for legacy ARC app rendering issues.

Bug: 937524
Change-Id: I17792ed28e5c97e337c60a9c1f3dc440239c51b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1517160
Reviewed-by: Antoine Labour <piman@chromium.org>
Commit-Queue: Antoine Labour <piman@chromium.org>
Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640177}
2 files changed