mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1153628 - Break FontFaceSet <-> UserFontSet cycle when a document's pres shell is going away. r=mccr8
This commit is contained in:
parent
2ec6115dfd
commit
bcea50a7fe
@ -412,6 +412,9 @@ FontFaceSet::DestroyUserFontSet()
|
||||
mNonRuleFaces.Clear();
|
||||
mUnavailableFaces.Clear();
|
||||
mReady = nullptr;
|
||||
if (mUserFontSet) {
|
||||
mUserFontSet->mFontFaceSet = nullptr;
|
||||
}
|
||||
mUserFontSet = nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user