commit | 451590f266419b572b2058498877ecc357368e3e | [log] [tgz] |
---|---|---|
author | Serhii Selyvon <[email protected]> | Tue Jul 15 15:14:02 2025 |
committer | Chromium LUCI CQ <[email protected]> | Tue Jul 15 15:14:02 2025 |
tree | c8717d7097362501c2db899e3e2fb02bb52856d9 | |
parent | 62599b24c7e93089831ba01331cbaeae1aea9efc [diff] |
Fix: Add null safety to tab loading supplier Improves the mIsLoadingSupplier to include null checks for mTabProvider and mTabProvider.getTab(). This ensures the supplier safely returns `false` if the tab or its provider is unavailable, preventing potential null pointer exceptions when querying the loading state. Bug: 382238543 Change-Id: I7c42f80c953a1ec7d5d9bfe049a547be21a2837b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6734231 Reviewed-by: Jinsuk Kim <[email protected]> Commit-Queue: Serhii Selyvon <[email protected]> Cr-Commit-Position: refs/heads/main@{#1486949}
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.