commit | bacdb4d59f19f5f180f05d3e5c16ab422dfca229 | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Thu Nov 09 00:30:52 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 09 00:30:52 2023 |
tree | 7f4505cbb738f0b17393bf8e6f4f83d49cd77ef5 | |
parent | 5ce1b3c6a7e2175aab92473ec76df1ae16ef48f5 [diff] |
Abstract getting the natural dimensions from a LayoutImageResource In preparation for more consistent handling/application of SVG fragment viewspecs, start eliminating "direct" accesses to SVGImage interfaces from the clients of LayoutImageResource. This replaces direct calls to SVGImage::GetIntrinsicSizingInfo() with calls to a new LayoutImageResource::GetNaturalDimensions() function. Bug: 1471377 Change-Id: Ifda7e02c8a88fdbe025692089e191af0b3a598c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5004013 Auto-Submit: Fredrik Söderquist <fs@opera.com> Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1221986}
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.