summaryrefslogtreecommitdiffstats
path: root/WebCore/page/chromium/FrameChromium.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/chromium/FrameChromium.cpp')
-rw-r--r--WebCore/page/chromium/FrameChromium.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/page/chromium/FrameChromium.cpp b/WebCore/page/chromium/FrameChromium.cpp
index 1e4ed16..d85fbcc 100644
--- a/WebCore/page/chromium/FrameChromium.cpp
+++ b/WebCore/page/chromium/FrameChromium.cpp
@@ -79,7 +79,7 @@ void computePageRectsForFrame(Frame* frame, const IntRect& printRect, float head
float printedPagesHeight = 0.0f;
do {
float proposedBottom = min(docHeight, printedPagesHeight + pageHeight);
- frame->adjustPageHeight(&proposedBottom, printedPagesHeight, proposedBottom, printedPagesHeight);
+ frame->view()->adjustPageHeight(&proposedBottom, printedPagesHeight, proposedBottom, printedPagesHeight);
currPageHeight = max(1.0f, proposedBottom - printedPagesHeight);
pages.append(IntRect(0, printedPagesHeight, currPageWidth, currPageHeight));