Index: net/cookies/parsed_cookie.cc |
diff --git a/net/cookies/parsed_cookie.cc b/net/cookies/parsed_cookie.cc |
index 3f281a6ddab12c708a5370eb9343fce9b524c0d4..bd8b0dc22706fc22743c206df376c219916a0773 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) || |