Index: Source/core/page/PrintContext.cpp |
diff --git a/Source/core/page/PrintContext.cpp b/Source/core/page/PrintContext.cpp |
index bd923317a0d90db7335f338a56109ad53b1030a5..af46d6af8d71e1312ce0141afae6c2da7fd3838b 100644 |
--- a/Source/core/page/PrintContext.cpp |
+++ b/Source/core/page/PrintContext.cpp |
@@ -54,7 +54,7 @@ PrintContext::~PrintContext() |
end(); |
} |
-void PrintContext::computePageRects(const FloatRect& printRect, float headerHeight, float footerHeight, float userScaleFactor, float& outPageHeight, bool allowHorizontalTiling) |
+void PrintContext::computePageRects(const FloatRect& printRect, float headerHeight, float footerHeight, float userScaleFactor, float& outPageHeight) |
{ |
m_pageRects.clear(); |
outPageHeight = 0; |
@@ -81,7 +81,7 @@ void PrintContext::computePageRects(const FloatRect& printRect, float headerHeig |
return; |
} |
- computePageRectsWithPageSizeInternal(FloatSize(pageWidth / userScaleFactor, pageHeight / userScaleFactor), allowHorizontalTiling); |
+ computePageRectsWithPageSizeInternal(FloatSize(pageWidth / userScaleFactor, pageHeight / userScaleFactor), false); |
} |
void PrintContext::computePageRectsWithPageSize(const FloatSize& pageSizeInPixels, bool allowHorizontalTiling) |