Index: net/base/cookie_monster.cc |
diff --git a/net/base/cookie_monster.cc b/net/base/cookie_monster.cc |
index 7274cec24c575acf6df5ca5f6ff6c7277c041d0d..03061c6851041bf6b9e2a6ab707a52b57f076fde 100644 |
--- a/net/base/cookie_monster.cc |
+++ b/net/base/cookie_monster.cc |
@@ -2631,7 +2631,7 @@ CookieMonster::CanonicalCookie* CookieMonster::CanonicalCookie::Create( |
return (Create(url, pc.Name(), pc.Value(), domain_string, path_string, |
mac_key, mac_algorithm, creation_time, expiration_time, |
- pc.IsSecure(), pc.IsHttpOnly(), pc.HasExpires())); |
+ pc.IsSecure(), pc.IsHttpOnly(), !expiration_time.is_null())); |
} |
CookieMonster::CanonicalCookie* CookieMonster::CanonicalCookie::Create( |