mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 1123109 - Mark nsStaticAtom::mStringBuffer as non-owning; r=froydnj
This commit is contained in:
parent
f0e632186b
commit
cfc3bde8b2
@ -22,7 +22,9 @@ typedef char16_t nsStaticAtomStringType;
|
||||
*/
|
||||
struct nsStaticAtom
|
||||
{
|
||||
nsStringBuffer* mStringBuffer;
|
||||
// mStringBuffer points to the string buffer for a permanent atom, and is
|
||||
// therefore safe as a non-owning reference.
|
||||
nsStringBuffer* MOZ_NON_OWNING_REF mStringBuffer;
|
||||
nsIAtom** mAtom;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user