Index: net/base/mime_util_unittest.cc |
diff --git a/net/base/mime_util_unittest.cc b/net/base/mime_util_unittest.cc |
index 608f16dcb47fb2d9969fa2fed5611ceef5a8146c..c6516349398f577031b23de890dd33436b2abbfc 100644 |
--- a/net/base/mime_util_unittest.cc |
+++ b/net/base/mime_util_unittest.cc |
@@ -4,8 +4,7 @@ |
#include "net/base/mime_util.h" |
-#include <algorithm> |
- |
+#include "base/stl_util.h" |
#include "base/strings/string_split.h" |
#include "base/strings/utf_string_conversions.h" |
#include "build/build_config.h" |
@@ -273,8 +272,7 @@ TEST(MimeUtilTest, TestGetExtensionsForMimeType) { |
test.contained_result, |
test.contained_result + strlen(test.contained_result)); |
- bool found = std::find(extensions.begin(), extensions.end(), |
- contained_result) != extensions.end(); |
+ bool found = base::ContainsValue(extensions, contained_result); |
ASSERT_TRUE(found) << "Must find at least the contained result within " |
<< test.mime_type; |