commit | 6b460a033aa3119bf858ad055974e01e06ecbdcc | [log] [tgz] |
---|---|---|
author | Kaan Alsan <alsan@chromium.org> | Thu Feb 06 14:23:34 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 06 14:23:34 2025 |
tree | d9bcf78358c603515416ac6b9910e10dcb09cc54 | |
parent | e33f3742d6769a4e4c4dbfab77f8cc39933209c3 [diff] |
Remove redundant condition in ShouldHaveBookmarksTitle The "Bookmarks" title is only built under certain conditions. One of these codified conditions was that the parent menu is not empty, which in practice is only ever true. Even if this assumption is wrong, then including a condition for it here alone is not enough because we would need to observe for changes to the parent menu. Therefore, this CL removes the condition altogether, replacing it with a DCHECK and "DumpWithoutCrashing", since this is a non-critical assumption. Bug: 40868588 Change-Id: I6e64bb82b6a9d1f6f366adc3897c4ac529af9456 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6226901 Reviewed-by: Darryl James <dljames@chromium.org> Commit-Queue: Kaan Alsan <alsan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1416750}
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.