summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/page/wince/FrameWinCE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/page/wince/FrameWinCE.cpp')
-rw-r--r--Source/WebCore/page/wince/FrameWinCE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/page/wince/FrameWinCE.cpp b/Source/WebCore/page/wince/FrameWinCE.cpp
index 9eb487b..60e9aac 100644
--- a/Source/WebCore/page/wince/FrameWinCE.cpp
+++ b/Source/WebCore/page/wince/FrameWinCE.cpp
@@ -76,7 +76,7 @@ void computePageRectsForFrame(Frame* frame, const IntRect& printRect, float head
float ratio = (float)printRect.height() / (float)printRect.width();
- float pageWidth = (float) root->rightLayoutOverflow();
+ float pageWidth = (float) root->maxXLayoutOverflow();
float pageHeight = pageWidth * ratio;
outPageHeight = (int) pageHeight; // this is the height of the page adjusted by margins
pageHeight -= (headerHeight + footerHeight);