Index: extensions/common/extension_l10n_util.cc |
diff --git a/extensions/common/extension_l10n_util.cc b/extensions/common/extension_l10n_util.cc |
index ac0ac6415a194e218b78f11bbe160d9aba382f4f..1255725ac47beac5900aa9881e0d77030c369001 100644 |
--- a/extensions/common/extension_l10n_util.cc |
+++ b/extensions/common/extension_l10n_util.cc |
@@ -6,7 +6,6 @@ |
#include <stddef.h> |
-#include <algorithm> |
#include <set> |
#include <string> |
#include <vector> |
@@ -16,6 +15,7 @@ |
#include "base/json/json_file_value_serializer.h" |
#include "base/logging.h" |
#include "base/memory/ptr_util.h" |
+#include "base/stl_util.h" |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
@@ -444,7 +444,7 @@ bool ShouldSkipValidation(const base::FilePath& locales_path, |
if (subdir.empty()) |
return true; // Non-ASCII. |
- if (std::find(subdir.begin(), subdir.end(), '.') != subdir.end()) |
+ if (base::ContainsValue(subdir, '.')) |
return true; |
if (all_locales.find(subdir) == all_locales.end()) |