Clear weak pointers in FT2 font list shutdown observers.

This commit is contained in:
wolfbeast 2018-12-12 00:18:43 +01:00 • committed by Roy Tam
commit f3de54e835
2 changed files with 12 additions and 6 deletions

View file

@ -19,6 +19,7 @@ using mozilla::dom::FontListEntry;
class FontNameCache;
typedef struct FT_FaceRec_* FT_Face;
class nsZipArchive;
class WillShutdownObserver;
class FT2FontEntry : public gfxFontEntry
{
@ -194,7 +195,7 @@ private:
mozilla::UniquePtr<FontNameCache> mFontNameCache;
int64_t mJarModifiedTime;
nsCOMPtr<nsIObserver> mObserver;
RefPtr<WillShutdownObserver> mObserver;
};
#endif /* GFX_FT2FONTLIST_H */