| Index: ui/views/mus/window_manager_connection.cc
|
| diff --git a/ui/views/mus/window_manager_connection.cc b/ui/views/mus/window_manager_connection.cc
|
| index 97d97658babd44f3b48784501c236965936479ce..c57b20e7e9437cd44936b234ec30b08c0446b8ab 100644
|
| --- a/ui/views/mus/window_manager_connection.cc
|
| +++ b/ui/views/mus/window_manager_connection.cc
|
| @@ -43,9 +43,9 @@ struct TypeConverter<gfx::Display, mus::mojom::DisplayPtr> {
|
| result.SetScaleAndBounds(input->device_pixel_ratio,
|
| input->bounds.To<gfx::Rect>());
|
| gfx::Rect work_area(
|
| - gfx::ToFlooredPoint(gfx::ScalePoint(
|
| + gfx::ScaleToFlooredPoint(
|
| gfx::Point(input->work_area->x, input->work_area->y),
|
| - 1.0f / input->device_pixel_ratio)),
|
| + 1.0f / input->device_pixel_ratio),
|
| gfx::ScaleToFlooredSize(
|
| gfx::Size(input->work_area->width, input->work_area->height),
|
| 1.0f / input->device_pixel_ratio));
|
|
|