Merge remote-tracking branch 'origin/master' into custom

This commit is contained in:
Roy Tam 2020-05-23 06:59:40 +08:00
commit 1a8a524849
485 changed files with 1462 additions and 353140 deletions

View file

@ -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,