| commit | 58d080cbca13a29155858988cde83c20caed5ffa | [log] [tgz] |
|---|---|---|
| author | Duncan Mercer <mercerd@google.com> | Fri Apr 18 23:03:52 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 18 23:03:52 2025 |
| tree | 3a9d7e6d9016e5a16d406e46645e2c4e3dc9d07d | |
| parent | 7c02d316c65c2d57c1ca0ca77f7279dc8bf79922 [diff] |
[lensoverlay] Fix ghost loader flickering This was happening because for APC, we were setting the primary content type to `kHtml`. This would cause the logic to decide if new bytes should be sent to the server to be skipped, since it would try and find kHtml which wouldn't exist since it was `kAnnotatedPageContent`. This would cause the `!new_page_content check` to fail and call `SuppressGhostLoader`. I've change the the primary content type for APC to be `kAnnotatedPageContent` and have ensured feature parity between `kAnnotatedPageContent` and `kHtml`. In other words, any logic which expected `kHtml` now also works with `kAnnotatedPageContent`. Bug: 411721346 Change-Id: I92a28229fb6f57b4454d237145c25a1a9e3cb5a7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6473374 Reviewed-by: Ali Stanfield <stanfield@google.com> Commit-Queue: Duncan Mercer <mercerd@google.com> Cr-Commit-Position: refs/heads/main@{#1449048}
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.