Bug 1123111 - Mark EventNameMapping::mAtom as non-owning; r=smaug

This commit is contained in:
Ehsan Akhgari 2015-01-18 14:01:31 -05:00
parent 146b77ef25
commit 47a6740ad4

View File

@ -155,7 +155,9 @@ enum EventNameType {
struct EventNameMapping
{
nsIAtom* mAtom;
// This holds pointers to nsGkAtoms members, and is therefore safe as a
// non-owning reference.
nsIAtom* MOZ_OWNING_REF mAtom;
uint32_t mId;
int32_t mType;
mozilla::EventClassID mEventClassID;