Index: chrome/browser/themes/browser_theme_pack.cc |
diff --git a/chrome/browser/themes/browser_theme_pack.cc b/chrome/browser/themes/browser_theme_pack.cc |
index 581baadefbd991b73064693793f6566522871280..7741d5a68923631523eedc97f35b9a1084a9945a 100644 |
--- a/chrome/browser/themes/browser_theme_pack.cc |
+++ b/chrome/browser/themes/browser_theme_pack.cc |
@@ -889,10 +889,8 @@ BrowserThemePack::BrowserThemePack() |
source_images_(NULL) { |
scale_factors_ = ui::GetSupportedScaleFactors(); |
// On Windows HiDPI SCALE_FACTOR_100P may not be supported by default. |
- if (std::find(scale_factors_.begin(), scale_factors_.end(), |
- ui::SCALE_FACTOR_100P) == scale_factors_.end()) { |
+ if (!ContainsValue(scale_factors_, ui::SCALE_FACTOR_100P)) |
scale_factors_.push_back(ui::SCALE_FACTOR_100P); |
- } |
} |
void BrowserThemePack::BuildHeader(const Extension* extension) { |