summaryrefslogtreecommitdiffstats
path: root/net/tools/quic/spdy_balsa_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/tools/quic/spdy_balsa_utils.cc')
-rw-r--r--net/tools/quic/spdy_balsa_utils.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/tools/quic/spdy_balsa_utils.cc b/net/tools/quic/spdy_balsa_utils.cc
index 76a3bdc..29d0c90 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());