Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index 48a17adfc6bd43d1d37e162fd1a13fd2304a2e08..b29d447c6eed8dfdbbd10bc0e8a125dd8a2a3f64 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -324,7 +324,7 @@ public: |
context.save(); |
#if OS(POSIX) && !OS(MACOSX) |
- context.scale(WebCore::FloatSize(scale, scale)); |
+ context.scale(scale, scale); |
#endif |
context.translate(static_cast<float>(-pageRect.x()), static_cast<float>(-pageRect.y())); |
context.clip(pageRect); |
@@ -371,7 +371,7 @@ public: |
// Account for the disabling of scaling in spoolPage. In the context |
// of spoolAllPagesWithBoundaries the scale HAS NOT been pre-applied. |
float scale = getPageShrink(pageIndex); |
- graphicsContext.scale(WebCore::FloatSize(scale, scale)); |
+ graphicsContext.scale(scale, scale); |
#endif |
spoolPage(graphicsContext, pageIndex); |
graphicsContext.restore(); |