Index: ui/gfx/win/dpi.cc |
diff --git a/ui/gfx/win/dpi.cc b/ui/gfx/win/dpi.cc |
index fbcbb77866e5aa01714650245f59dd1f5e02ccc4..30c90b875e66ae73e6fb93429da0bd84a983b42a 100644 |
--- a/ui/gfx/win/dpi.cc |
+++ b/ui/gfx/win/dpi.cc |
@@ -44,6 +44,10 @@ float GetUnforcedDeviceScaleFactor() { |
float GetModernUIScaleWrapper() { |
float result = 1.0f; |
+ // TODO(cpu) : Fix scale for Win7. |
+ if (base::win::GetVersion() < base::win::VERSION_WIN8) |
+ return result; |
+ |
typedef float(WINAPI *GetModernUIScalePtr)(VOID); |
HMODULE lib = LoadLibraryA("metro_driver.dll"); |
if (lib) { |