Index: Source/core/page/PrintContext.cpp |
diff --git a/Source/core/page/PrintContext.cpp b/Source/core/page/PrintContext.cpp |
index e5373edbaeed30cd9ffd39b810289b37d1484e2f..9ce40857b67040598f09262209b923ed601aafb8 100644 |
--- a/Source/core/page/PrintContext.cpp |
+++ b/Source/core/page/PrintContext.cpp |
@@ -178,7 +178,7 @@ void PrintContext::spoolPage(GraphicsContext& ctx, int pageNumber, float width) |
float scale = width / pageRect.width(); |
ctx.save(); |
- ctx.scale(FloatSize(scale, scale)); |
+ ctx.scale(scale, scale); |
ctx.translate(-pageRect.x(), -pageRect.y()); |
ctx.clip(pageRect); |
m_frame->view()->paintContents(&ctx, pageRect); |
@@ -354,7 +354,7 @@ void PrintContext::spoolAllPagesWithBoundaries(LocalFrame* frame, GraphicsContex |
graphicsContext.save(); |
graphicsContext.translate(0, totalHeight); |
- graphicsContext.scale(FloatSize(1, -1)); |
+ graphicsContext.scale(1, -1); |
int currentHeight = 0; |
for (size_t pageIndex = 0; pageIndex < pageRects.size(); pageIndex++) { |