commit | eb2367e5a47405142ee80d1227476087842ce183 | [log] [tgz] |
---|---|---|
author | Antoine Labour <piman@chromium.org> | Sat Nov 03 01:57:10 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Nov 03 01:57:10 2018 |
tree | 913f29a21785b0960f4481f339561f07ad0947d2 | |
parent | 7bc5cee898da5beddea01b099cb081ae7a08bdd2 [diff] |
Properly check handle type in GpuMemoryBufferFactory* Calling code (CommandBufferStub via GpuChannel) doesn't check that the GMB handle type corresponds to the correct platform-specific handle (indeed it doesn't have a way to). So check in the GpuMemoryBufferFactory* classes and fail if the handle type is invalid. Bug: 870116 Change-Id: I78b574439350bee3dccda569e53eae7f74c7d0a7 Reviewed-on: https://chromium-review.googlesource.com/c/1316168 Reviewed-by: Victor Miura <vmiura@chromium.org> Commit-Queue: Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#605127}
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 .