Index: ui/base/layout.cc |
diff --git a/ui/base/layout.cc b/ui/base/layout.cc |
index 2c4baee9aa42493371831c5b24e10b926598c38a..86419f4ea8bd4f23205d877d29abd2f1576d16ff 100644 |
--- a/ui/base/layout.cc |
+++ b/ui/base/layout.cc |
@@ -29,7 +29,7 @@ namespace ui { |
namespace { |
bool ScaleFactorComparator(const ScaleFactor& lhs, const ScaleFactor& rhs){ |
- return GetImageScale(lhs) < GetImageScale(rhs); |
+ return GetScaleForScaleFactor(lhs) < GetScaleForScaleFactor(rhs); |
} |
std::vector<ScaleFactor>* g_supported_scale_factors = NULL; |