mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
it is just a matter of turning off a boolean in the right spot. The previous spot was some arbitrary in that method. Now we turn it
off a little earlier Bug 134283 r=dcone sr=attinasi a=asa adt=jaime
This commit is contained in:
parent
dc372ad5dc
commit
6d6859123b
@ -4276,6 +4276,9 @@ DocumentViewerImpl::DoPrint(PrintObject * aPO, PRBool aDoSyncPrinting, PRBool& a
|
||||
PRT_YESNO(skipPageEjectOnly), PRT_YESNO(skipAllPageAdjustments),
|
||||
PRT_YESNO(doOffsetting), PRT_YESNO(doAddInParentsOffset));
|
||||
|
||||
// We are done preparing for printing, so we can turn this off
|
||||
mPrt->mPreparingForPrint = PR_FALSE;
|
||||
|
||||
// mPrt->mDebugFilePtr this is onlu non-null when compiled for debugging
|
||||
if (nsnull != mPrt->mDebugFilePtr) {
|
||||
#ifdef NS_DEBUG
|
||||
@ -4418,9 +4421,6 @@ DocumentViewerImpl::DoPrint(PrintObject * aPO, PRBool aDoSyncPrinting, PRBool& a
|
||||
PRInt32 printPageDelay = 500;
|
||||
mPrt->mPrintSettings->GetPrintPageDelay(&printPageDelay);
|
||||
|
||||
// We are done preparing for printing, so we can turn this off
|
||||
mPrt->mPreparingForPrint = PR_FALSE;
|
||||
|
||||
// Schedule Page to Print
|
||||
PRINT_DEBUG_MSG3("Scheduling Print of PO: %p (%s) \n", aPO, gFrameTypesStr[aPO->mFrameType]);
|
||||
StartPagePrintTimer(poPresContext, mPrt->mPrintSettings, aPO, printPageDelay);
|
||||
|
@ -4276,6 +4276,9 @@ DocumentViewerImpl::DoPrint(PrintObject * aPO, PRBool aDoSyncPrinting, PRBool& a
|
||||
PRT_YESNO(skipPageEjectOnly), PRT_YESNO(skipAllPageAdjustments),
|
||||
PRT_YESNO(doOffsetting), PRT_YESNO(doAddInParentsOffset));
|
||||
|
||||
// We are done preparing for printing, so we can turn this off
|
||||
mPrt->mPreparingForPrint = PR_FALSE;
|
||||
|
||||
// mPrt->mDebugFilePtr this is onlu non-null when compiled for debugging
|
||||
if (nsnull != mPrt->mDebugFilePtr) {
|
||||
#ifdef NS_DEBUG
|
||||
@ -4418,9 +4421,6 @@ DocumentViewerImpl::DoPrint(PrintObject * aPO, PRBool aDoSyncPrinting, PRBool& a
|
||||
PRInt32 printPageDelay = 500;
|
||||
mPrt->mPrintSettings->GetPrintPageDelay(&printPageDelay);
|
||||
|
||||
// We are done preparing for printing, so we can turn this off
|
||||
mPrt->mPreparingForPrint = PR_FALSE;
|
||||
|
||||
// Schedule Page to Print
|
||||
PRINT_DEBUG_MSG3("Scheduling Print of PO: %p (%s) \n", aPO, gFrameTypesStr[aPO->mFrameType]);
|
||||
StartPagePrintTimer(poPresContext, mPrt->mPrintSettings, aPO, printPageDelay);
|
||||
|
Loading…
x
Reference in New Issue
Block a user