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

Unified Diff: net/base/data_url.cc

Issue 1282363003: Convert remaining StringToLowerASCII to ToLowerASCII (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « mojo/shell/network_fetcher.cc ('k') | net/base/filename_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/data_url.cc
diff --git a/net/base/data_url.cc b/net/base/data_url.cc
index 4f26456edef2d2a8772d96123c5e075d6b0fbbf0..26720c548d1516da727e6128f562ea35fc6e9ec5 100644
--- a/net/base/data_url.cc
+++ b/net/base/data_url.cc
@@ -43,7 +43,7 @@ bool DataURL::Parse(const GURL& url, std::string* mime_type,
std::vector<std::string>::iterator iter = meta_data.begin();
if (iter != meta_data.end()) {
mime_type->swap(*iter);
- base::StringToLowerASCII(mime_type);
+ *mime_type = base::ToLowerASCII(*mime_type);
++iter;
}
« no previous file with comments | « mojo/shell/network_fetcher.cc ('k') | net/base/filename_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698