Index: chrome/browser/file_select_helper.cc |
diff --git a/chrome/browser/file_select_helper.cc b/chrome/browser/file_select_helper.cc |
index 6d88afbf6de08641435885314e7c1e1ac3353126..bbfae1b59754632b77b6d69b04b514c4af6ecc0a 100644 |
--- a/chrome/browser/file_select_helper.cc |
+++ b/chrome/browser/file_select_helper.cc |
@@ -565,7 +565,7 @@ bool FileSelectHelper::IsAcceptTypeValid(const std::string& accept_type) { |
// of an extension or a "/" in the case of a MIME type). |
std::string unused; |
if (accept_type.length() <= 1 || |
- base::StringToLowerASCII(accept_type) != accept_type || |
+ base::ToLowerASCII(accept_type) != accept_type || |
base::TrimWhitespaceASCII(accept_type, base::TRIM_ALL, &unused) != |
base::TRIM_NONE) { |
return false; |