mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 03:19:06 +00:00
Bug 423345: Use mIsCreatingPrintPreview, not mIsDoingPrintPreview, to check if we're setting up a print-preview page. r+sr=vlad a=blocking1.9+
This commit is contained in:
parent
f495b5647e
commit
6e16062fb8
@ -1727,7 +1727,7 @@ nsPrintEngine::SetupToPrintContent()
|
||||
rv = mPrt->mPrintDC->BeginDocument(docTitleStr, fileName, startPage, endPage);
|
||||
}
|
||||
|
||||
if (mIsDoingPrintPreview) {
|
||||
if (mIsCreatingPrintPreview) {
|
||||
// Print Preview -- Pass ownership of docTitleStr and docURLStr
|
||||
// to the pageSequenceFrame, to be displayed in the header
|
||||
nsIPageSequenceFrame *seqFrame = nsnull;
|
||||
|
Loading…
x
Reference in New Issue
Block a user