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) |