commit | 1c164be0b745131af01a768461a0f4ba1b868eac | [log] [tgz] |
---|---|---|
author | Austin Sullivan <asully@chromium.org> | Wed Nov 17 22:30:00 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 17 22:30:00 2021 |
tree | c020829b3e5ebaead009058cbaf3e986a2e1f207 | |
parent | ebf502b1588ac7839904064435c6a60f291576cf [diff] |
M96: Add null checks in Get1xPNGBytesFromNSImage CHECKs that nsimage is never a nullptr, since if it is this would indicates a memory management issue. Also adds a DumpWithoutCrashing call to figure out what's going on when cg_image is null. (cherry picked from commit d590ce54298be1004576f3c6de6cae80b6d798f5) Bug: 1253882 Change-Id: I7c9a511d3d73ee96023b714067636acf243676bc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3273573 Reviewed-by: Robert Sesek <rsesek@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Austin Sullivan <asully@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#940590} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3278478 Commit-Queue: Robert Sesek <rsesek@chromium.org> Cr-Commit-Position: refs/branch-heads/4664@{#1088} Cr-Branched-From: 24dc4ee75e01a29d390d43c9c264372a169273a7-refs/heads/main@{#929512}
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.