commit | 6b4d840cc8026fa55141de1e5a6b3f12300a1cbf | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Tue Mar 26 09:53:28 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 26 09:53:28 2019 |
tree | 13150b78d73c9ab73129bda5841f4243af532f54 | |
parent | c9d0222007010d95eb62401d574803fb0cfaa065 [diff] |
Expand/ceil default object size in SVGImagePainter Ceil the default object size passed to LayoutImageResource::GetImage, to increase the chances of the (container) size round-tripping through Image::Size() (which we use as the source rect). SVGImageForContainer::Size uses RoundedIntSize(), so depending on the fractional part of the default object size it could end up either smaller or larger. Bug: 944739 Change-Id: Ifc62ddfad760ade87135b356ce6f6e07ed8e5dc5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538421 Reviewed-by: Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#644238}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .