Chromium Code Reviews| Index: ui/gfx/win/dpi.cc |
| diff --git a/ui/gfx/win/dpi.cc b/ui/gfx/win/dpi.cc |
| index e562a086c9a151018f78bbffc92adf177796d501..44df6eb852851eff06875f72fbc9208c2a04dff8 100644 |
| --- a/ui/gfx/win/dpi.cc |
| +++ b/ui/gfx/win/dpi.cc |
| @@ -134,6 +134,10 @@ Size GetDPI() { |
| float GetDPIScale() { |
| if (IsHighDPIEnabled()) { |
| + if (GetDPI().width() <= 120) { |
|
sky
2014/08/28 23:23:29
Add a comment as to why we do this.
scottmg
2014/08/28 23:29:22
Done.
|
| + // 120 logical pixels is 125% scale. |
| + return 1.0; |
| + } |
| return gfx::Display::HasForceDeviceScaleFactor() ? |
| gfx::Display::GetForcedDeviceScaleFactor() : |
| GetUnforcedDeviceScaleFactor(); |