commit | fbf46efeb5268dccb2544b7242c49a127d8110da | [log] [tgz] |
---|---|---|
author | Jerry Liu <pzliu@google.com> | Mon Nov 04 21:24:41 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 04 21:24:41 2024 |
tree | efd4657c3a7cffd3809544f600245dbae79a26bc | |
parent | b9a54d4925bee28f5822e129db42ea9cac76a8e7 [diff] |
p13n: fix crash caused by slow make opaque calls This CL fixes the crash happening during a MakeOpaque() call. It is replicable on slow devices where the user closes the app while fullscreen preview is on. By moving |cancelPreviewWallpaper()| before the async calls will likely avoid slow MakeOpaque mojom calls triggered when the WebUI has been destroyed. Before: go/scrcast/NTY3NzU4OTEwMzM3ODQzMnwxYzVmYzc2Zi04Mw After: go/scrcast/NjY5NzkzNTg5Mzk1NDU2MHw2MmI3ZWNmOS04Mg BUG=b:369139669 TEST=Manually tested on DUT Change-Id: I589bee4f78e1e8711b91e2f136c79a7c2fbc2588 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5989294 Commit-Queue: Jerry Liu <pzliu@google.com> Reviewed-by: Jeffrey Young <cowmoo@google.com> Cr-Commit-Position: refs/heads/main@{#1377893}
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.