commit | 12ea37979d75aa70c8437eea568829714d88dc5f | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Mon Dec 10 15:55:43 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Dec 10 15:55:43 2018 |
tree | cbbe1ccf363bfd9dc7166cf688c1c9b430e471b2 | |
parent | 04f4103842f32cee0b6206b96797a1b622642f60 [diff] |
Reduce type-impedance for LayoutImageResource::GetImage The container size will be converted to FloatSize in the end, so make the argument type a FloatSize too rather than a LayoutSize. Clean up callers, removing some conversions in SVGImagePainter, and add an IntSize overload (since it's common to call GetImage with an IntSize). Change-Id: I4f5c4389d21617ad60d18b258674999e9ef51f2c Reviewed-on: https://chromium-review.googlesource.com/c/1367651 Reviewed-by: Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#615130}
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 .