landing string branch; see bug #73786

This commit is contained in:
scc@mozilla.org
2001-04-02 19:40:52 +00:00
parent 3b992cc041
commit 4e56e9386c
141 changed files with 11370 additions and 5236 deletions

View File

@@ -169,7 +169,7 @@ NS_COM nsIAtom* NS_NewAtom( const nsAReadableString& aString )
(PLHashComparator)CompareKeys,
(PLHashComparator)0, 0, 0);
nsPromiseFlatString flat(aString);
const nsPromiseFlatString& flat = PromiseFlatString(aString);
const PRUnichar *str = flat.get();
PRUint32 hashCode = HashKey(str);