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; |