commit | 51b41cda452b80207e277ad4fd5f87b920a4672a | [log] [tgz] |
---|---|---|
author | Bo Majewski <majewski@chromium.org> | Tue Nov 30 22:48:29 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 30 22:48:29 2021 |
tree | e319d4ab7c0f5b393620ea4390a5c6890226753d | |
parent | a1d4d4358d4bedc2cf35eccdbeae6fb1c888635c [diff] |
[Files SWA]: Patch wall paper setting due to null pointer. It is possible for GetSenderWebContents() to return null. This happens when the extension isn't actively rendered into a render_frame_host. Thus beforce checking the last committed URL from web content we must check if we have it at all. Follow-up to http://crrev.com/c/3115805 Bug: b/194247971, b/207538307 Change-Id: I9cfb80a3a31e39687a5824b8246f8a3e5048d36b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3308938 Commit-Queue: Bo Majewski <majewski@chromium.org> Reviewed-by: Jeffrey Young <cowmoo@chromium.org> Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/main@{#946717}
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.