mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
bug 665360 - hold reference to font family from loader. r=jdaggett
This commit is contained in:
parent
1ea403f841
commit
65ca3acc2e
@ -92,6 +92,7 @@ nsFontFaceLoader::nsFontFaceLoader(gfxProxyFontEntry *aProxy, nsIURI *aFontURI,
|
||||
: mFontEntry(aProxy), mFontURI(aFontURI), mFontSet(aFontSet),
|
||||
mChannel(aChannel)
|
||||
{
|
||||
mFontFamily = aProxy->Family();
|
||||
}
|
||||
|
||||
nsFontFaceLoader::~nsFontFaceLoader()
|
||||
|
@ -145,6 +145,7 @@ public:
|
||||
|
||||
private:
|
||||
nsRefPtr<gfxProxyFontEntry> mFontEntry;
|
||||
nsRefPtr<gfxFontFamily> mFontFamily;
|
||||
nsCOMPtr<nsIURI> mFontURI;
|
||||
nsRefPtr<nsUserFontSet> mFontSet;
|
||||
nsCOMPtr<nsIChannel> mChannel;
|
||||
|
Loading…
Reference in New Issue
Block a user