| Index: net/cookies/canonical_cookie.cc
|
| diff --git a/net/cookies/canonical_cookie.cc b/net/cookies/canonical_cookie.cc
|
| index 4372bde3450fe54a9bf5b9fa684d6181626f443c..9cf9f7aef73df0ac9cb68613a82f3baf6ce8fd96 100644
|
| --- a/net/cookies/canonical_cookie.cc
|
| +++ b/net/cookies/canonical_cookie.cc
|
| @@ -404,14 +404,12 @@ bool CanonicalCookie::FullCompare(const CanonicalCookie& other) const {
|
| }
|
|
|
| bool CanonicalCookie::IsCanonical() const {
|
| - // Not checking domain against ParsedCookie as it may have come purely
|
| - // from the URL.
|
| + // Not checking domain or path against ParsedCookie as it may have
|
| + // come purely from the URL.
|
| if (ParsedCookie::ParseTokenString(name_) != name_ ||
|
| ParsedCookie::ParseValueString(value_) != value_ ||
|
| - ParsedCookie::ParseValueString(path_) != path_ ||
|
| !ParsedCookie::IsValidCookieAttributeValue(name_) ||
|
| - !ParsedCookie::IsValidCookieAttributeValue(value_) ||
|
| - !ParsedCookie::IsValidCookieAttributeValue(path_)) {
|
| + !ParsedCookie::IsValidCookieAttributeValue(value_)) {
|
| return false;
|
| }
|
|
|
|
|