commit | 9560acfa2c6ddd1b7b36bffc261dd49b56be7705 | [log] [tgz] |
---|---|---|
author | Wan-Teh Chang <wtc@google.com> | Mon Jun 05 22:39:09 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 05 22:39:09 2023 |
tree | eead6096222c33af3923e677331fbf6e0e43645f | |
parent | f8175370340704e5f8841b073a25d0a51f98b1a0 [diff] |
CHECK (not DCHECK) avifImageSetViewRect succeeds The image `view` is created as an empty image and passed to the avifImageSetViewRect(view.get(), image, &rect) call. If avifImageSetViewRect fails, then `view` is still an empty image and it doesn't seem safe to use it. The only reason avifImageSetViewRect can fail is invalid parameters. Here the caller passes valid parameters, so this avifImageSetViewRect should not fail. Change-Id: Icc160905cbc17e622d4149fe690f257d7cec1803 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4582482 Commit-Queue: Wan-Teh Chang <wtc@google.com> Reviewed-by: Peter Boström <pbos@chromium.org> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1153521}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.