| Index: ui/mojo/display/display_type_converters.cc
|
| diff --git a/ui/mojo/display/display_type_converters.cc b/ui/mojo/display/display_type_converters.cc
|
| index bc1a55d0c3f686133c669304601360ae07150fcf..5d069c6954f0aebb0bbcc68d3f8d8c363a6ee510 100644
|
| --- a/ui/mojo/display/display_type_converters.cc
|
| +++ b/ui/mojo/display/display_type_converters.cc
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "ui/mojo/display/display_type_converters.h"
|
|
|
| -#include "mojo/converters/geometry/geometry_type_converters.h"
|
| #include "ui/display/display.h"
|
|
|
| namespace mojo {
|
| @@ -17,8 +16,8 @@ TypeConverter<display::Display, mus::mojom::DisplayPtr>::Convert(
|
| return display::Display();
|
|
|
| display::Display result(input->id);
|
| - gfx::Rect pixel_bounds = input->bounds.To<gfx::Rect>();
|
| - gfx::Rect pixel_work_area = input->work_area.To<gfx::Rect>();
|
| + gfx::Rect pixel_bounds = input->bounds;
|
| + gfx::Rect pixel_work_area = input->work_area;
|
| float pixel_ratio = input->device_pixel_ratio;
|
|
|
| gfx::Rect dip_bounds =
|
|
|