зеркало из https://github.com/mozilla/gecko-dev.git
Oops, currently the Tree is closed, backing out previous check-in. b=317289
This commit is contained in:
Родитель
a6e31396b5
Коммит
8211dc3b14
|
@ -3006,9 +3006,9 @@ nsPrintEngine::PrintDocContent(nsPrintObject* aPO, nsresult& aStatus)
|
|||
}
|
||||
}
|
||||
|
||||
// If |aPO->mPrintAsIs| and |aPO->mHasBeenPrinted| are true,
|
||||
// the kids frames are already processed in |PrintPage|.
|
||||
if (!aPO->mInvisible && !(aPO->mPrintAsIs && aPO->mHasBeenPrinted)) {
|
||||
// If |aPO->mPrintAsIs| is true, the kids are processed in |PrintPage|
|
||||
// instead of here.
|
||||
if (!aPO->mInvisible && !aPO->mPrintAsIs) {
|
||||
for (PRInt32 i=0;i<aPO->mKids.Count();i++) {
|
||||
nsPrintObject* po = (nsPrintObject*)aPO->mKids[i];
|
||||
PRBool printed = PrintDocContent(po, aStatus);
|
||||
|
|
Загрузка…
Ссылка в новой задаче