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

Unified Diff: sql/statement.cc

Issue 1282363003: Convert remaining StringToLowerASCII to ToLowerASCII (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 | « remoting/signaling/jid_util.cc ('k') | storage/common/database/database_identifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/statement.cc
diff --git a/sql/statement.cc b/sql/statement.cc
index 038ebde0885670d136c454485d70a4cabe63450d..09c95da43b6d42c37aaf4e1d9a6f311c9dfbcc98 100644
--- a/sql/statement.cc
+++ b/sql/statement.cc
@@ -210,8 +210,8 @@ ColType Statement::ColumnType(int col) const {
}
ColType Statement::DeclaredColumnType(int col) const {
- std::string column_type(sqlite3_column_decltype(ref_->stmt(), col));
- base::StringToLowerASCII(&column_type);
+ std::string column_type = base::ToLowerASCII(
+ sqlite3_column_decltype(ref_->stmt(), col));
if (column_type == "integer")
return COLUMN_TYPE_INTEGER;
« no previous file with comments | « remoting/signaling/jid_util.cc ('k') | storage/common/database/database_identifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698