Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index c8a165a11f023e7524e4feb07a2fa2513e0b9249..ea25c4405719a2c967217204be746cc9aafedacf 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1326,9 +1326,9 @@ bool WebLocalFrameImpl::isPageBoxVisible(int pageIndex) |
return frame()->document()->isPageBoxVisible(pageIndex); |
} |
-void WebLocalFrameImpl::pageSizeAndMarginsInPixels(int pageIndex, WebSize& pageSize, int& marginTop, int& marginRight, int& marginBottom, int& marginLeft) |
+void WebLocalFrameImpl::pageSizeAndMarginsInPixels(int pageIndex, WebFloatSize& pageSize, int& marginTop, int& marginRight, int& marginBottom, int& marginLeft) |
{ |
- IntSize size = pageSize; |
+ FloatSize size = pageSize; |
frame()->document()->pageSizeAndMarginsInPixels(pageIndex, size, marginTop, marginRight, marginBottom, marginLeft); |
pageSize = size; |
} |