commit | 41bb93e35e2cd88d225bdc4375ffca2b51a0a80c | [log] [tgz] |
---|---|---|
author | Saifuddin Hitawala <hitawala@chromium.org> | Thu Jul 14 18:18:18 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 14 18:18:18 2022 |
tree | 8cc0d3f4ddbd4b6d35d35b863bcf08d9513bd117 | |
parent | e0ca56d7ebf1374bd5c3091c41e38af2924f062a [diff] |
Add checks for nullptr for OzoneBacking SharedImageBackingFactoryOzone creates a NativePixmap which it then uses to create the OzoneBacking. There might be situations during which the NativePixmap creation fails. In such cases the backing would not be created and would be null. This CL adds null checks in such scenarios. Bug: 1344241 Change-Id: I20e4d3d47887d871c2df06c71534d9a11420e7a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3757981 Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Saifuddin Hitawala <hitawala@chromium.org> Cr-Commit-Position: refs/heads/main@{#1024330}
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.