[graphics][cleanup] Avoid use of ArrayBufferContents::DataHandle
It seems to me that the additional step of first creating a DataHandle was used to handle the case where allocation fails. However, this is also possible by creating an ArrayBufferContents directly. Bug: chromium:1008840 Change-Id: If2dde91b411157721dacc8257f9ab2a08bf48048 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1865159Reviewed-by:Florin Malita <fmalita@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#706454}
Showing
Please register or sign in to comment