commit | b3d1e7d2665c73a1b0bd3787ff8216df7af55749 | [log] [tgz] |
---|---|---|
author | Michael Tang <tangm@microsoft.com> | Wed Apr 16 22:30:30 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 16 22:30:30 2025 |
tree | ee350e6a089b9ce0d2455e350043e53a6ff154db | |
parent | b50a587e89c5b8d1cffb3c896afee2a0813b810a [diff] |
win: Fallback to a white rect if ProduceOverlay failed This change makes it so we draw a white rect (red when DCHECK is enabled, similar to ImageContextImpl::GetFallbackColorForPlane and SkiaRenderer::DrawRenderPassQuad) if we fail to produce an overlay representation for an overlay image, where the overlay layer would have been. Currently we push a default-initialized DCLayerOverlayParams in this case. Before crrev.com/c/6194781, we would skip adding the overlay params entirely. Change-Id: I4477cefd7053025cc7c67d90d0972f742c11bc96 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6460106 Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Michael Tang <tangm@microsoft.com> Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1448047}
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.