| Index: ui/gfx/win/dpi.cc
|
| diff --git a/ui/gfx/win/dpi.cc b/ui/gfx/win/dpi.cc
|
| index aa3194c388eab5e0f3240eefb701175a777a4e62..508a2c776c3d49542eada9b76cd8aca48adcc6a7 100644
|
| --- a/ui/gfx/win/dpi.cc
|
| +++ b/ui/gfx/win/dpi.cc
|
| @@ -92,12 +92,12 @@ Rect DIPToScreenRect(const Rect& dip_bounds) {
|
|
|
| Size ScreenToDIPSize(const Size& size_in_pixels) {
|
| // Always ceil sizes. Otherwise we may be leaving off part of the bounds.
|
| - return ToCeiledSize(ScaleSize(size_in_pixels, 1.0f / GetDPIScale()));
|
| + return ScaleToCeiledSize(size_in_pixels, 1.0f / GetDPIScale());
|
| }
|
|
|
| Size DIPToScreenSize(const Size& dip_size) {
|
| // Always ceil sizes. Otherwise we may be leaving off part of the bounds.
|
| - return ToCeiledSize(ScaleSize(dip_size, GetDPIScale()));
|
| + return ScaleToCeiledSize(dip_size, GetDPIScale());
|
| }
|
|
|
| int GetSystemMetricsInDIP(int metric) {
|
|
|