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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.h

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/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index eceed95ed8cfec2b8f27ca49e79f5b8aa25baa4d..9bafe0cd92954c472a5a4d1ccb912120b0db739f 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -23,6 +23,7 @@ enum class WebAppBannerPromptReply;
enum class WebCachePolicy;
enum class WebSandboxFlags;
enum class WebTreeScopeType;
+struct WebDoubleSize;
struct WebPrintPresetOptions;
// Interface for interacting with in process frames. This contains methods that
@@ -158,7 +159,7 @@ public:
// marginLeft must be initialized to the default values that are used if
// auto is specified.
virtual void pageSizeAndMarginsInPixels(int pageIndex,
- WebSize& pageSize,
+ WebDoubleSize& pageSize,
int& marginTop,
int& marginRight,
int& marginBottom,

Powered by Google App Engine
This is Rietveld 408576698