commit | abcbf047f782bcfeaaee67c0a8b23be0089a059c | [log] [tgz] |
---|---|---|
author | Colin Blundell <blundell@chromium.org> | Thu Jan 23 09:08:49 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 23 09:08:49 2025 |
tree | 47321e0b335121349cf26704f0e42cc451b1b083 | |
parent | 2b95b86124013eca4c21bb32f6296dd369da294a [diff] |
[Blink] Remove unneeded null check from HTMLCanvasElement This code currently checks whether ResourceProvider() [1] is null. However, it's underneath a conditional on ResourceProvider() not being null [2], and no code that executed between the conditional and this check could have caused the resource provider to be destroyed. [1] https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/graphics/canvas_resource_host.h;l=67-69;drc=27d34700b83f381c62e3a348de2e6dfdc08364b8 [2] https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/canvas/html_canvas_element.cc;l=1072-1076?q=HTMLCanvasElement::PaintInternal&ss=chromium Bug: 40280152 Change-Id: I3c25786576f98821964afbe8d4794f45a03b31c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6185413 Reviewed-by: Jean-Philippe Gravel <jpgravel@chromium.org> Commit-Queue: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/main@{#1410160}
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.