mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 424000 - Crash [@ nsPrintEngine::ReflowPrintObject], r=roc
This commit is contained in:
parent
bc56cd9078
commit
9367a1667f
@ -2061,6 +2061,7 @@ nsPrintEngine::ReflowPrintObject(nsPrintObject * aPO)
|
||||
// the furthest
|
||||
if (mPrt->mShrinkToFit && documentIsTopLevel) {
|
||||
nsIPageSequenceFrame* pageSequence = aPO->mPresShell->GetPageSequenceFrame();
|
||||
NS_ENSURE_STATE(pageSequence);
|
||||
pageSequence->GetSTFPercent(aPO->mShrinkRatio);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user