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

Unified Diff: trunk/src/chrome/browser/download/download_extensions.cc

Issue 474483002: Revert 289312 "Move StringToUpperASCII and LowerCaseEqualsASCII ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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
Index: trunk/src/chrome/browser/download/download_extensions.cc
===================================================================
--- trunk/src/chrome/browser/download/download_extensions.cc (revision 289319)
+++ trunk/src/chrome/browser/download/download_extensions.cc (working copy)
@@ -222,8 +222,7 @@
ascii_extension.erase(0, 1);
for (size_t i = 0; i < arraysize(g_executables); ++i) {
- if (base::LowerCaseEqualsASCII(ascii_extension,
- g_executables[i].extension))
+ if (LowerCaseEqualsASCII(ascii_extension, g_executables[i].extension))
return g_executables[i].level;
}
return NOT_DANGEROUS;

Powered by Google App Engine
This is Rietveld 408576698