commit | 6805fa908aa505467642bf157bfca32c0eea6584 | [log] [tgz] |
---|---|---|
author | Jiahe Zhang <jiahe.zhang@intel.com> | Thu May 09 02:47:25 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 09 02:47:25 2024 |
tree | 5c7ed70e7853d8243ec9d60fbcd6d72af11d12ab | |
parent | be02c8fe6c999dbfd96b76865fe813efabfaeb5c [diff] |
Avoid using nullptr for cursor buffer There might be cases that NextCursorBuffer() cannot find a suitable buffer fitting the incoming cursor image size. This CL uses the max buffer supported instead of nullptr to avoid crashes. Bug: 326156501, 332926694 Change-Id: Id56f98899ef9d531e4136486a529167d22c46a69 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5524951 Reviewed-by: Peter McNeeley <petermcneeley@chromium.org> Commit-Queue: Jiahe Zhang <jiahe.zhang@intel.com> Cr-Commit-Position: refs/heads/main@{#1298488}
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.