Index: ui/base/resource/resource_bundle.cc |
diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc |
index 1a24b13c6108c7b236e0df9640138b06856bab64..bf53a1314e39afe87aa4569ac7fa5577eb2c88a4 100644 |
--- a/ui/base/resource/resource_bundle.cc |
+++ b/ui/base/resource/resource_bundle.cc |
@@ -686,9 +686,7 @@ ScaleFactor ResourceBundle::GetMaxScaleFactor() const { |
bool ResourceBundle::IsScaleFactorSupported(ScaleFactor scale_factor) { |
const std::vector<ScaleFactor>& supported_scale_factors = |
ui::GetSupportedScaleFactors(); |
- return std::find(supported_scale_factors.begin(), |
- supported_scale_factors.end(), |
- scale_factor) != supported_scale_factors.end(); |
+ return base::ContainsValue(supported_scale_factors, scale_factor); |
} |
ResourceBundle::ResourceBundle(Delegate* delegate) |