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

Unified Diff: sql/connection.cc

Issue 1224553010: Replace base::str[n]casecmp with helper functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « skia/ext/image_operations_bench.cc ('k') | tools/gn/filesystem_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/connection.cc
diff --git a/sql/connection.cc b/sql/connection.cc
index d1b104908c988089729ae0050f9aff7da7016f7f..d07d425eb1721ac5b1da4c78198caac030fd4744 100644
--- a/sql/connection.cc
+++ b/sql/connection.cc
@@ -992,7 +992,8 @@ bool Connection::DoesColumnExist(const char* table_name,
return false;
while (statement.Step()) {
- if (!base::strcasecmp(statement.ColumnString(1).c_str(), column_name))
+ if (base::EqualsCaseInsensitiveASCII(statement.ColumnString(1),
+ column_name))
return true;
}
return false;
« no previous file with comments | « skia/ext/image_operations_bench.cc ('k') | tools/gn/filesystem_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698