commit | 20ccfb3377f5bdca04fcf843193ffe91463e0124 | [log] [tgz] |
---|---|---|
author | Colin Blundell <blundell@chromium.org> | Fri Apr 11 08:09:42 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 11 08:09:42 2025 |
tree | 67eafdfd93cbff68763ca983427b8504733cb36e | |
parent | db94310942d5732053a0c583ff756e10a831a5b0 [diff] |
[Blink] Fix CanvasResourceDispatcher test resource lifetime handling (2) It should ideally return the placeholder's ref on the CanvasResource back to the CanvasResourceDispatcher rather than letting it drop on the floor as it does now, which breaks the invariant that the placeholder canvas returns its ref to the CanvasResourceDispatcher when it's done with it. Upholding this invariant in these tests will be necessary for followup work I'm doing (which is what uncovered this issue). For convenience of code organization in the test being changed here I just ensure that the dispatcher is destroyed before the CanvasResources in question are dropped. Bug: 352263194 Change-Id: I796aa523fa189c7078c55d681855f2ef47ceac78 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6448309 Commit-Queue: Colin Blundell <blundell@chromium.org> Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/main@{#1445717}
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.