Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
2
mozilla/netwerk/cache/src/nsCacheEntry.cpp
vendored
2
mozilla/netwerk/cache/src/nsCacheEntry.cpp
vendored
@@ -591,7 +591,7 @@ nsCacheEntryHashTable::MatchEntry(PLDHashTable * /* table */,
|
||||
NS_ASSERTION(key != nsnull, "### nsCacheEntryHashTable::MatchEntry : null key");
|
||||
nsCacheEntry *cacheEntry = ((nsCacheEntryHashTableEntry *)hashEntry)->cacheEntry;
|
||||
|
||||
return Compare(*cacheEntry->mKey, *(nsCString *)key) == 0;
|
||||
return cacheEntry->mKey->Equals(*(nsCString *)key);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user