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

Unified Diff: net/tools/quic/spdy_balsa_utils.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 | « net/test/embedded_test_server/http_request.cc ('k') | net/url_request/url_request_backoff_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/spdy_balsa_utils.cc
diff --git a/net/tools/quic/spdy_balsa_utils.cc b/net/tools/quic/spdy_balsa_utils.cc
index 76a3bdcb99b68b2375e4554a00a019396b497cae..29d0c9003f9e3e2a0c8bc4a8d886933584ec2725 100644
--- a/net/tools/quic/spdy_balsa_utils.cc
+++ b/net/tools/quic/spdy_balsa_utils.cc
@@ -50,8 +50,7 @@ void PopulateSpdyHeaderBlock(const BalsaHeaders& headers,
// This unfortunately involves loads of copying, but its the simplest way
// to sort the headers and leverage the framer.
- string name = hi->first.as_string();
- base::StringToLowerASCII(&name);
+ string name = base::ToLowerASCII(hi->first.as_string());
SpdyHeaderBlock::iterator it = block->find(name);
if (it != block->end()) {
it->second.reserve(it->second.size() + 1 + hi->second.size());
« no previous file with comments | « net/test/embedded_test_server/http_request.cc ('k') | net/url_request/url_request_backoff_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698