Index: net/cookies/cookie_monster.cc |
diff --git a/net/cookies/cookie_monster.cc b/net/cookies/cookie_monster.cc |
index 8a609d824b5a4c8c711edad9bf9738c8c80d182b..b3488ea641cfbe82eb69c0b501f848f697d853af 100644 |
--- a/net/cookies/cookie_monster.cc |
+++ b/net/cookies/cookie_monster.cc |
@@ -2667,8 +2667,8 @@ bool CookieMonster::CanonicalCookie::IsOnPath( |
if (path_.empty()) |
return false; |
- // The Mozilla code broke it into 3 cases, if it's strings lengths |
- // are less than, equal, or greater. I think this is simpler: |
+ // The Mozilla code broke this into three cases: the lengths of the strings |
+ // are less than, equal to, or greater. I think the approach below is simpler. |
mmenke
2012/03/30 01:39:57
This still doesn't make any sense. I think this a
|
// Make sure the cookie path is a prefix of the url path. If the |
// url path is shorter than the cookie path, then the cookie path |