commit | c23ae86c8b35eadeca4cdd52c6bb4edbfba6f2ba | [log] [tgz] |
---|---|---|
author | Peter Boström <pbos@chromium.org> | Mon Oct 21 05:39:28 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 21 05:39:28 2024 |
tree | a677c2c7531c5bbd17fb14555f3af35ac81dfbf7 | |
parent | 340e490e08a8d6a5341603dc129c89ab9088b722 [diff] |
Use is_null() in Callback::Run's CHECK This is more obviously null-checking itself (than `holder_.is_null()`). I got confused enough by `holder_.is_null()` to ask on Slack, hopefully this helps someone else too, or future myself. Bug: None Change-Id: I276f0fc605efd41610797173862e20943630b031 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5937389 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Auto-Submit: Peter Boström <pbos@chromium.org> Commit-Queue: Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/main@{#1371192}
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.