Index: ui/base/layout.cc |
diff --git a/ui/base/layout.cc b/ui/base/layout.cc |
index 56779766ebf6c894522f0ee3ccc31c79eb4cb9e9..66d44f1f46a08cd4bbc703714e85ad9e9b922cc7 100644 |
--- a/ui/base/layout.cc |
+++ b/ui/base/layout.cc |
@@ -119,7 +119,7 @@ std::vector<ScaleFactor>& GetSupportedScaleFactorsInternal() { |
if (base::mac::IsOSLionOrLater()) |
supported_scale_factors->push_back(SCALE_FACTOR_200P); |
#elif defined(OS_WIN) && defined(ENABLE_HIDPI) |
- if (base::win::IsMetroProcess() && base::win::IsTouchEnabled()) { |
+ if (base::win::IsMetroProcess() && ui::IsTouchDevicePresent()) { |
supported_scale_factors->push_back(SCALE_FACTOR_140P); |
supported_scale_factors->push_back(SCALE_FACTOR_180P); |
} |