mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1168176 - Mark gfxFontShaper::mFont as MOZ_NON_OWNING_REF. r=jtd
This commit is contained in:
parent
e3c63cd1de
commit
4912cad20d
@ -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