Index: net/cookies/cookie_constants.cc |
diff --git a/net/cookies/cookie_constants.cc b/net/cookies/cookie_constants.cc |
index 0afe6ef85802e88c41692e723d0e63ef7eaf625d..05fe22ea437902b90bfb8729cec551f8687a3af9 100644 |
--- a/net/cookies/cookie_constants.cc |
+++ b/net/cookies/cookie_constants.cc |
@@ -30,8 +30,7 @@ NET_EXPORT const std::string CookiePriorityToString(CookiePriority priority) { |
} |
NET_EXPORT CookiePriority StringToCookiePriority(const std::string& priority) { |
- std::string priority_comp(priority); |
- base::StringToLowerASCII(&priority_comp); |
+ std::string priority_comp = base::ToLowerASCII(priority); |
if (priority_comp == kPriorityHigh) |
return COOKIE_PRIORITY_HIGH; |