commit | b20f19a0ad176cc750a5612f364eda28ddcf7d53 | [log] [tgz] |
---|---|---|
author | Klaus Weidner <klausw@chromium.org> | Tue Jun 28 19:24:22 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 28 19:24:22 2022 |
tree | 2aa8d5d8f701ba166e0b2fdbb507d26dfd74b24c | |
parent | f18a4152ec9e04f30b872c96b013c3967b8ae870 [diff] |
Clarify context_ lifetime in WebContentsFrameTracker The context_ object's lifetime should be equivalent to the corresponding web_contents() value, but this wasn't strictly enforced. Update the comments and add DCHECKs to clarify. Also skip trying to update HiDPI scaling when there are no active web_contents(). Bug: 1338591 Change-Id: I8da4e741b742f42e325b045ff2a8cf8e41b55425 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3721469 Commit-Queue: Klaus Weidner <klausw@chromium.org> Reviewed-by: Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/main@{#1018797}
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.