| commit | d0a4624c0f6565bcff43c8c720de41d3417ba81a | [log] [tgz] |
|---|---|---|
| author | Ian Wells <iwells@chromium.org> | Thu Sep 18 20:38:11 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 18 20:38:11 2025 |
| tree | 5c6e5d94f96559658b14a7f4b03e5d069e009696 | |
| parent | cf5605ecf60c3783e81dea4f812bcec090254796 [diff] |
Glic multi instance: don't access host before it exists In single instance mode, the host lives as long as GlicKeyedService, but in multi instance mode it is owned by GlicInstance which doesn't exist until the entrypoint is clicked. This change prevents a crash but also breaks zero-state suggestions whenever GlicInstance isn't prewarmed. To fix this properly we need to instantiate GlicInstance right there, but wait to show until ToggleUI. Bug: 440969040 Change-Id: I1e43ce4216e1e9d571375a6ea41a0280cee72a82 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6966925 Auto-Submit: Ian Wells <iwells@chromium.org> Commit-Queue: Ian Wells <iwells@chromium.org> Reviewed-by: Alison Gale <agale@chromium.org> Cr-Commit-Position: refs/heads/main@{#1517544}
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.