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

Unified Diff: skia/ext/image_operations_bench.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 | « printing/backend/cups_helper.cc ('k') | sql/connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/image_operations_bench.cc
diff --git a/skia/ext/image_operations_bench.cc b/skia/ext/image_operations_bench.cc
index 4fd81bc0b331fb18e614259be6cf5df0baaa3733..b5464c64d37f712f80d5894bfb70d842d34fb516 100644
--- a/skia/ext/image_operations_bench.cc
+++ b/skia/ext/image_operations_bench.cc
@@ -50,7 +50,7 @@ const StringMethodPair resize_methods[] = {
bool StringToMethod(const std::string& arg,
skia::ImageOperations::ResizeMethod* method) {
for (size_t i = 0; i < arraysize(resize_methods); ++i) {
- if (base::strcasecmp(arg.c_str(), resize_methods[i].name) == 0) {
+ if (base::EqualsCaseInsensitiveASCII(arg, resize_methods[i].name)) {
*method = resize_methods[i].method;
return true;
}
« no previous file with comments | « printing/backend/cups_helper.cc ('k') | sql/connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698