WindowTreeHostPlatform ignores device_pixel_ratio. |
||
Issue descriptionWindowTreeHostPlatform::OnAcceleratedWidgetAvailable() ignores device_pixel_ratio parameter. WindowTreeHost always initializes device_pixel_ratio as DPI of the display, see https://codesearch.chromium.org/chromium/src/ui/aura/window_tree_host.cc?type=cs&sq=package:chromium&g=0&l=104 . This is problematic on Fuchsia where there is no API to get device_pixel_ratio for a display. It's reported as a view property.
,
Jan 15
Removed device_pixel_ratio parameter in https://chromium-review.googlesource.com/c/chromium/src/+/1147754/ |
||
►
Sign in to add a comment |
||
Comment 1 by nyerramilli@chromium.org
, Nov 19