Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(488)

Unified Diff: storage/common/fileapi/file_system_util.cc

Issue 1280473002: Update ToLower/UpperASCII API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_util_unittest.cc ('k') | ui/base/ime/chromeos/input_method_descriptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/common/fileapi/file_system_util.cc
diff --git a/storage/common/fileapi/file_system_util.cc b/storage/common/fileapi/file_system_util.cc
index 98b6cc81a4be8f51a0124bcde7607de1d58b7d88..16d74e44427dc58e683ff880f37bc06cae0cd32a 100644
--- a/storage/common/fileapi/file_system_util.cc
+++ b/storage/common/fileapi/file_system_util.cc
@@ -420,8 +420,8 @@ bool CrackIsolatedFileSystemName(const std::string& filesystem_name,
// names, so we do a case insensitive compare by converting both strings
// to uppercase.
// TODO(benwells): Remove this when WebKit uses the same constant.
- start_token = base::StringToUpperASCII(start_token);
- std::string filesystem_name_upper = base::StringToUpperASCII(filesystem_name);
+ start_token = base::ToUpperASCII(start_token);
+ std::string filesystem_name_upper = base::ToUpperASCII(filesystem_name);
size_t pos = filesystem_name_upper.find(start_token);
if (pos == std::string::npos)
return false;
« no previous file with comments | « net/http/http_util_unittest.cc ('k') | ui/base/ime/chromeos/input_method_descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698