Bug 1168176 - Mark gfxFontShaper::mFont as MOZ_NON_OWNING_REF. r=jtd

This commit is contained in:
Michael Layzell 2015-05-25 11:32:00 -04:00
parent e3c63cd1de
commit 4912cad20d

View File

@ -649,8 +649,10 @@ public:
void* aHandleFeatureData);
protected:
// the font this shaper is working with
gfxFont * mFont;
// the font this shaper is working with. The font owns a nsAutoPtr reference
// to this object, and will destroy it before it dies. Thus, mFont will always
// be valid.
gfxFont* MOZ_NON_OWNING_REF mFont;
};