commit | 45fb5b25776535761029931e6b749958945417d2 | [log] [tgz] |
---|---|---|
author | Darren Shen <shend@chromium.org> | Wed Sep 01 08:51:57 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 01 08:51:57 2021 |
tree | 4533424bf072f9d6ac99b96282d49711f0fb7872 | |
parent | 366add4fd488e5343d6babcfd9419b9ad5c754c5 [diff] |
ime: Fix crash bug when selecting PK candidates. The extension based candidates window system uses an index <-> ID mapping. When the extension wants to show a bunch of candidates, every candidate must be given a unique ID. This ID is used to identify the candidate later on when the candidate is selected. The native mojo PK candidates window system does not use IDs. So when we select a candidate using mojo, Chrome crashes because it cannot find the ID of the candidate. The logic for converting index <-> ID is done in the parent class of the native mojo PK code, so we will override that behaviour to directly use the index as the ID instead. Bug: b/151884011 Change-Id: I835cb852f06baa95cb732e1e19b786ee95e19f5f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3132392 Reviewed-by: John Palmer <jopalmer@chromium.org> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/main@{#917163}
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.