mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1280753
: Call Close() on SVG-in-opentype content viewer, when tearing it down. r=smaug
MozReview-Commit-ID: Jscvj1rvYCp --HG-- extra : rebase_source : 2f68057e9bda004b8d94ea8685d08170f55906d3
This commit is contained in:
parent
d792ea11f1
commit
ffc6d631d6
@ -313,6 +313,7 @@ gfxSVGGlyphsDocument::~gfxSVGGlyphsDocument()
|
||||
mPresShell->RemovePostRefreshObserver(this);
|
||||
}
|
||||
if (mViewer) {
|
||||
mViewer->Close(nullptr);
|
||||
mViewer->Destroy();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user