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

Unified Diff: webkit/browser/database/database_util.cc

Issue 176843022: Move UTF16ToASCII, remove WideToASCII. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « ui/views/examples/table_example.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/database/database_util.cc
diff --git a/webkit/browser/database/database_util.cc b/webkit/browser/database/database_util.cc
index f037638b2087e309dc6170ad60d45edbb4e70391..bfa08791b05251ee6d91c1ba34c0746c021eb6db 100644
--- a/webkit/browser/database/database_util.cc
+++ b/webkit/browser/database/database_util.cc
@@ -32,7 +32,7 @@ bool DatabaseUtil::CrackVfsFileName(const base::string16& vfs_file_name,
}
if (origin_identifier) {
- *origin_identifier = UTF16ToASCII(
+ *origin_identifier = base::UTF16ToASCII(
vfs_file_name.substr(0, first_slash_index));
}
if (database_name) {
@@ -61,7 +61,7 @@ base::FilePath DatabaseUtil::GetFullFilePathForVfsFile(
if (!full_path.empty() && !sqlite_suffix.empty()) {
DCHECK(full_path.Extension().empty());
full_path = full_path.InsertBeforeExtensionASCII(
- UTF16ToASCII(sqlite_suffix));
+ base::UTF16ToASCII(sqlite_suffix));
}
// Watch out for directory traversal attempts from a compromised renderer.
if (full_path.value().find(FILE_PATH_LITERAL("..")) !=
« no previous file with comments | « ui/views/examples/table_example.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698