Bug 730414 followup comment to address review comments

This commit is contained in:
Boris Zbarsky 2012-02-29 21:44:02 -05:00
parent 1922ecc1d7
commit 7b360ea8bd

View File

@ -89,6 +89,11 @@ interface nsIAtom : nsISupports
nsStringBuffer::FromData(mString)->ToString(mLength, aBuf);
}
/**
* A hashcode that is better distributed than the actual atom
* pointer, for use in situations that need a well-distributed
* hashcode.
*/
inline uint32_t hash() const {
return mHash;
}