Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FlatlandClientNativePixmapFactory: make sure stride is int.
This CL adds a check to FlatlandClientNativePixmapFactory::ImportFromHandle() to make sure the stride of each plane being imported can fit into an int so that it works with the GpuMemoryBuffer::stride() API. Note that this is consistent with the check in ScenicClientNativePixmapFactory::ImportFromHandle(). Bug: 1237496 Test: None Change-Id: Ia8b6fc37184ff3cd00c71635cfebc97be5e6ad6d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3077470 Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org> Reviewed-by: Michael Spang <spang@chromium.org> Cr-Commit-Position: refs/heads/master@{#911443}
- Loading branch information