commit | ff22612a4c419ab7bdd8ab1c77942c935c66bf67 | [log] [tgz] |
---|---|---|
author | Antoine Labour <piman@chromium.org> | Thu Nov 15 22:02:05 2018 |
committer | Antoine Labour <piman@chromium.org> | Thu Nov 15 22:02:05 2018 |
tree | fa501ff0b1baae8fc46c6cc713d2f7c54645b6bc | |
parent | bc34e91897bc744018494e578490666c878bf4dc [diff] |
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-Original-Commit-Position: refs/heads/master@{#608145}(cherry picked from commit 0d836853c4944a4afc507be85613b998476898fc) Reviewed-on: https://chromium-review.googlesource.com/c/1336518 Reviewed-by: Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/branch-heads/3538@{#1089} Cr-Branched-From: 79f7c91a2b2a2932cd447fa6f865cb6662fa8fa6-refs/heads/master@{#587811}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .