| Index: ui/gfx/screen_win.cc
|
| diff --git a/ui/gfx/screen_win.cc b/ui/gfx/screen_win.cc
|
| index 884003870399be5493d937b9a0001c3353bc2959..e6a92aa023fe539ed7ad4846c51762d7ead26310 100644
|
| --- a/ui/gfx/screen_win.cc
|
| +++ b/ui/gfx/screen_win.cc
|
| @@ -29,7 +29,7 @@ gfx::Display GetDisplay(MONITORINFOEX& monitor_info) {
|
| gfx::Rect bounds = gfx::Rect(monitor_info.rcMonitor);
|
| gfx::Display display(id, bounds);
|
| display.set_work_area(gfx::Rect(monitor_info.rcWork));
|
| - display.SetScaleAndBounds(gfx::win::GetDeviceScaleFactor(), bounds);
|
| + display.SetScaleAndBounds(gfx::GetDPIScale(), bounds);
|
|
|
| DEVMODE mode;
|
| memset(&mode, 0, sizeof(DEVMODE));
|
|
|