commit | 80385055da759cded042b73a9ed90d8b4ad9d934 | [log] [tgz] |
---|---|---|
author | David Maunder <davidjm@chromium.org> | Thu Mar 10 17:28:11 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 10 17:28:11 2022 |
tree | 420c3e05e84b6d8dcf75cf7662148c3435f9cb3a | |
parent | 1d2555f09e2ec34b4ce78abf0d23929769a5567e [diff] |
Ensure ShoppingPersistedTabData is created on UI thread In the stack trace it suggests a handler is being created for which Looper.prepare hasn't been called. Creating ShoppingPersistedTabData on the UI thread will fix this (it should be created there anyway). Also, ShoppingPersistedTabData.from(..) is used instead of the constructor to ensure ShoppingPersistedTabData is created once per lifetime of the Tab and then accessed via the UserDataHost interface. Bug: 1302792 Change-Id: I614583c2b85b289820444e43903578cbde18de40 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3517226 Reviewed-by: Matthew Jones <mdjones@chromium.org> Commit-Queue: David Maunder <davidjm@chromium.org> Cr-Commit-Position: refs/heads/main@{#979828}
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.