зеркало из https://github.com/mozilla/gecko-dev.git
Bug 317289 hang (never finish/freeze) printing selection in iframe r+sr=roc
This commit is contained in:
Родитель
19961cae2c
Коммит
9a0e324461
|
@ -3006,9 +3006,9 @@ nsPrintEngine::PrintDocContent(nsPrintObject* aPO, nsresult& aStatus)
|
|||
}
|
||||
}
|
||||
|
||||
// If |aPO->mPrintAsIs| is true, the kids are processed in |PrintPage|
|
||||
// instead of here.
|
||||
if (!aPO->mInvisible && !aPO->mPrintAsIs) {
|
||||
// If |aPO->mPrintAsIs| and |aPO->mHasBeenPrinted| are true,
|
||||
// the kids frames are already processed in |PrintPage|.
|
||||
if (!aPO->mInvisible && !(aPO->mPrintAsIs && aPO->mHasBeenPrinted)) {
|
||||
for (PRInt32 i=0;i<aPO->mKids.Count();i++) {
|
||||
nsPrintObject* po = (nsPrintObject*)aPO->mKids[i];
|
||||
PRBool printed = PrintDocContent(po, aStatus);
|
||||
|
|
Загрузка…
Ссылка в новой задаче