commit | 8eac88c451f3be1c6d57255fe6134e7d581fa012 | [log] [tgz] |
---|---|---|
author | Mike Reed <[email protected]> | Thu Oct 12 21:24:38 2017 |
committer | Commit Bot <[email protected]> | Thu Oct 12 21:24:38 2017 |
tree | 7d46e1fd8e71b69c725fc90023432c10f7a9c905 | |
parent | ab6785c6762e875fe403340112c7b6723a414e50 [diff] |
switch over to computeByteSize for image buffer calcs The older apis (e.g. getSize) are deprecated. old: getSize() - computed height * rowBytes, even for last row - not check for overflow new: computeByteSize() - computes (height - 1)* rowBytes + width*pixel_size (skip last padding) - safely returns max_size_t on overflow TBR= Bug: Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation Change-Id: I1ba4bbec58a25c12ae69c368a6da7c8f84056ec7 Reviewed-on: https://chromium-review.googlesource.com/710395 Commit-Queue: Mike Reed <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Will Harris <[email protected]> Reviewed-by: Antoine Labour <[email protected]> Reviewed-by: Nico Weber <[email protected]> Reviewed-by: Florin Malita <[email protected]> Cr-Commit-Position: refs/heads/master@{#508477}
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 .