Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(957)

Unified Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp

Issue 2116283002: Don't let rounding prematurely influence document size when printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@620456-2
Patch Set: bug 467579 Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
index 9e4b630214cf67fe66321f99d5fbdf262205ffff..9153a3ac24a028c603af70635b93b0676ed32983 100644
--- a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
@@ -517,7 +517,7 @@ bool WebRemoteFrameImpl::isPageBoxVisible(int pageIndex)
void WebRemoteFrameImpl::pageSizeAndMarginsInPixels(
int pageIndex,
- WebSize& pageSize,
+ WebFloatSize& pageSize,
int& marginTop,
int& marginRight,
int& marginBottom,

Powered by Google App Engine
This is Rietveld 408576698