Change cef_pdf_print_settings_t custom margins from double to int (fixes issue #2694)

This commit is contained in:
Alex Maitland
2020-04-21 18:44:52 +00:00
committed by Marshall Greenblatt
parent ec0c57d0e1
commit e876217e24
2 changed files with 9 additions and 9 deletions

View File

@@ -2430,13 +2430,13 @@ typedef struct _cef_pdf_print_settings_t {
int scale_factor;
///
// Margins in millimeters. Only used if |margin_type| is set to
// Margins in points. Only used if |margin_type| is set to
// PDF_PRINT_MARGIN_CUSTOM.
///
double margin_top;
double margin_right;
double margin_bottom;
double margin_left;
int margin_top;
int margin_right;
int margin_bottom;
int margin_left;
///
// Margin type.