| Index: ui/base/layout.cc
|
| diff --git a/ui/base/layout.cc b/ui/base/layout.cc
|
| index 59b913becdc73a41e24ec74184dc775af644afca..f6362ac94830b8dc39735e64f09573ef6bfbfa4a 100644
|
| --- a/ui/base/layout.cc
|
| +++ b/ui/base/layout.cc
|
| @@ -85,7 +85,7 @@ ScaleFactor GetSupportedScaleFactor(float scale) {
|
| float GetImageScale(ScaleFactor scale_factor) {
|
| #if defined(OS_WIN)
|
| if (gfx::IsHighDPIEnabled())
|
| - return gfx::win::GetDeviceScaleFactor();
|
| + return gfx::GetDPIScale();
|
| #endif
|
| return GetScaleForScaleFactor(scale_factor);
|
| }
|
|
|