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 e71cc2e5605c65124dcb65cca79de0d979828dd2..3a6a45f2c27761f42ef6cc46747faaf7991039d6 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -181,6 +181,7 @@ |
#include "platform/weborigin/SchemeRegistry.h" |
#include "platform/weborigin/SecurityPolicy.h" |
#include "public/platform/InterfaceProvider.h" |
+#include "public/platform/WebDoubleSize.h" |
#include "public/platform/WebFloatPoint.h" |
#include "public/platform/WebFloatRect.h" |
#include "public/platform/WebLayer.h" |
@@ -1327,9 +1328,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, WebDoubleSize& pageSize, int& marginTop, int& marginRight, int& marginBottom, int& marginLeft) |
{ |
- IntSize size = pageSize; |
+ DoubleSize size = pageSize; |
frame()->document()->pageSizeAndMarginsInPixels(pageIndex, size, marginTop, marginRight, marginBottom, marginLeft); |
pageSize = size; |
} |