[Autofill][States] Determine State Votes on UI thread
AlternativeStateNameMap can only be accessed on the UI thread. In the current implementation, the logic to determine state votes using AlternativeStateNameMap does not run on the UI thread resulting in the crash. With this CL, the state votes are preprocessed before |DeterminePossibleFieldTypesForUpload| is called. Bug: 1111960 Change-Id: I470b7db684916c4c7fef35d2018af876992c0c27 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2617792 Commit-Queue: Vidhan Jain <vidhanj@google.com> Reviewed-by:Matthias Körber <koerber@google.com> Cr-Commit-Position: refs/heads/master@{#843477}
Showing
Please register or sign in to comment