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

Unified Diff: media/blink/cache_util.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 | « media/base/mime_util.cc ('k') | media/blink/key_system_config_selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/cache_util.cc
diff --git a/media/blink/cache_util.cc b/media/blink/cache_util.cc
index 65bed438fe91cc1127548efe7de6ed8478c891b3..4d1c9c39d43f1a349f8d5bddd6d1b6e4d3679e7e 100644
--- a/media/blink/cache_util.cc
+++ b/media/blink/cache_util.cc
@@ -47,8 +47,7 @@ uint32 GetReasonsForUncacheability(const WebURLResponse& response) {
}
std::string cache_control_header =
- response.httpHeaderField("cache-control").utf8();
- base::StringToLowerASCII(&cache_control_header);
+ base::ToLowerASCII(response.httpHeaderField("cache-control").utf8());
if (cache_control_header.find("no-cache") != std::string::npos)
reasons |= kNoCache;
if (cache_control_header.find("no-store") != std::string::npos)
« no previous file with comments | « media/base/mime_util.cc ('k') | media/blink/key_system_config_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698