diff options
Diffstat (limited to 'layout/generic/nsSimplePageSequenceFrame.cpp')
-rw-r--r-- | layout/generic/nsSimplePageSequenceFrame.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/layout/generic/nsSimplePageSequenceFrame.cpp b/layout/generic/nsSimplePageSequenceFrame.cpp index d8ec898a6a..444512fba6 100644 --- a/layout/generic/nsSimplePageSequenceFrame.cpp +++ b/layout/generic/nsSimplePageSequenceFrame.cpp @@ -255,13 +255,15 @@ nsSimplePageSequenceFrame::Reflow(nsPresContext* aPresContext, nscoord x = pageCSSMargin.left; // Place and size the page. - ReflowChild(kidFrame, aPresContext, kidSize, kidReflowInput, x, y, 0, status); + ReflowChild(kidFrame, aPresContext, kidSize, kidReflowInput, x, y, + ReflowChildFlags::Default, status); // If the page is narrower than our width, then center it horizontally: x += ComputeCenteringMargin(aReflowInput.ComputedWidth(), kidSize.Width(), pageCSSMargin); - FinishReflowChild(kidFrame, aPresContext, kidSize, nullptr, x, y, 0); + FinishReflowChild(kidFrame, aPresContext, kidSize, nullptr, x, y, + ReflowChildFlags::Default); y += kidSize.Height(); y += pageCSSMargin.bottom; |