mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1168176 - Mark gfxFontShaper::mFont as MOZ_NON_OWNING_REF. r=jtd
--HG-- extra : rebase_source : 15a007eb060f4274b0dc983d4d520b599efeb768
This commit is contained in:
parent
6e3a4bba77
commit
2a4808a906
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user