gpu: fix GetResultAs callsites
GetResultAs returns a pointer to the transfer buffer. Under some conditions, the transfer buffer may be reallocated, so we need to make sure a GetResultAs-returned pointer isn't used across such a reallocation. Bug: 905336 Change-Id: I1a9699d38149c56ee5430bff125a1168ca053696 Reviewed-on: https://chromium-review.googlesource.com/c/1336152 Commit-Queue: Antoine Labour <piman@chromium.org> Reviewed-by:James Darpinian <jdarpinian@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Cr-Commit-Position: refs/heads/master@{#608145}
Showing
Please register or sign in to comment