summaryrefslogtreecommitdiffstats
path: root/net/cookies/parsed_cookie.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/cookies/parsed_cookie.cc')
-rw-r--r--net/cookies/parsed_cookie.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/cookies/parsed_cookie.cc b/net/cookies/parsed_cookie.cc
index 3f281a6..bd8b0dc 100644
--- a/net/cookies/parsed_cookie.cc
+++ b/net/cookies/parsed_cookie.cc
@@ -398,7 +398,7 @@ void ParsedCookie::ParseTokenValuePairs(const std::string& cookie_line) {
// From RFC2109: "Attributes (names) (attr) are case-insensitive."
if (pair_num != 0)
- base::StringToLowerASCII(&pair.first);
+ pair.first = base::ToLowerASCII(pair.first);
// Ignore Set-Cookie directives contaning control characters. See
// http://crbug.com/238041.
if (!IsValidCookieAttributeValue(pair.first) ||