mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
[printing] Fix build bustage with --disable-printing
This commit is contained in:
parent
f6b3f2c38b
commit
a13f638d23
2 changed files with 6 additions and 0 deletions
|
|
@ -544,10 +544,12 @@ nsDocumentViewer::~nsDocumentViewer()
|
|||
mDocument->Destroy();
|
||||
}
|
||||
|
||||
#ifdef NS_PRINTING
|
||||
if (mPrintEngine) {
|
||||
mPrintEngine->Destroy();
|
||||
mPrintEngine = nullptr;
|
||||
}
|
||||
#endif
|
||||
|
||||
MOZ_RELEASE_ASSERT(mDestroyRefCount == 0);
|
||||
NS_ASSERTION(!mPresShell && !mPresContext,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue