commit | e341b06689a78e5b20ac105fec1a004cbfc1c844 | [log] [tgz] |
---|---|---|
author | Colin Blundell <blundell@chromium.org> | Tue Nov 26 07:48:36 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 26 07:48:36 2024 |
tree | 3b066ebb3bb6332d245131ca3ce65812770065b3 | |
parent | 6fa9d8ca48361f561dbc73a492762d11bbaef384 [diff] |
[Blink] Remove all calls to Size() inside canvas_resource.cc Most of these calls are in subclasses that have direct access to their ClientSharedImage and can get the size from there. The remaining call can use `size_` directly. Note: There are external calls to CanvasResource::Size() that prevent it being removed. Those calls will have wait to for significantly further down the road when we can either be passing ClientSharedImage directly at the callsites or obtaining the ClientSI from the CanvasResource. Bug: 371227617 Change-Id: Ib86067ab40799836a0f2cbbf01e0d74fb1fa53ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6039246 Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/main@{#1388079}
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.