Change StyleImage::ImageSize()'s input size type from LayoutSize to FloatSize
Normally we should avoid layout geometry types (LayoutRect, LayoutSize, etc.) outside of layout and paint. We also plan to deprecate them by Physical/Logical geometry types in layout/paint. This can avoid the layout system directly passing a size in logical coordinates to StyleImage. Also keeps consistency with other geometries in StyleImage. Change-Id: I8b8305e5a0377f525de9b3fbbbf288380f36119f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2294337 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by:Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#787747}
Showing
Please register or sign in to comment