| Index: ui/compositor/dip_util.cc
|
| diff --git a/ui/compositor/dip_util.cc b/ui/compositor/dip_util.cc
|
| index 104a5da4d99525bf3278ab58b95c4a7596cc8690..1f6309a42b570df9e902a0f00277e071b776e219 100644
|
| --- a/ui/compositor/dip_util.cc
|
| +++ b/ui/compositor/dip_util.cc
|
| @@ -29,6 +29,11 @@ gfx::Point ConvertPointToDIP(const Layer* layer,
|
| gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
|
| }
|
|
|
| +gfx::PointF ConvertPointToDIP(const Layer* layer,
|
| + const gfx::PointF& point_in_pixel) {
|
| + return gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer));
|
| +}
|
| +
|
| gfx::Size ConvertSizeToDIP(const Layer* layer,
|
| const gfx::Size& size_in_pixel) {
|
| return gfx::ToFlooredSize(
|
|
|