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

--HG--
extra : rebase_source : 15a007eb060f4274b0dc983d4d520b599efeb768
This commit is contained in:
Michael Layzell 2015-05-25 11:32:00 -04:00
parent 6e3a4bba77
commit 2a4808a906

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;
};