Fix Android build.
Android does not have toLower in it's <algorithm>, use
StringToLowerASCII instead.
Review URL: http://codereview.chromium.org/9384004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121505 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/sql/statement.cc b/sql/statement.cc
index 4fa3459..7bc6adf 100644
--- a/sql/statement.cc
+++ b/sql/statement.cc
@@ -4,9 +4,8 @@
#include "sql/statement.h"
-#include <algorithm>
-
#include "base/logging.h"
+#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "third_party/sqlite/sqlite3.h"
@@ -159,8 +158,7 @@
ColType Statement::DeclaredColumnType(int col) const {
std::string column_type(sqlite3_column_decltype(ref_->stmt(), col));
- std::transform(column_type.begin(), column_type.end(), column_type.begin(),
- ::tolower);
+ StringToLowerASCII(&column_type);
if (column_type == "integer")
return COLUMN_TYPE_INTEGER;