Use kPointsPerInch instead of desired_dpi

Changed in https://codereview.chromium.org/2788343003
This commit is contained in:
Kevin Sawicki 2017-07-03 13:23:54 -07:00 committed by Aleksei Kuzmin
parent 9945fc5148
commit 7d1a49db48
3 changed files with 10 additions and 25 deletions

View file

@ -41,7 +41,6 @@ struct PrintMsg_Print_Params {
int margin_left;
double dpi;
double scale_factor;
int desired_dpi;
bool rasterize_pdf;
int document_cookie;
bool selection_only;
@ -105,9 +104,6 @@ IPC_STRUCT_TRAITS_BEGIN(PrintMsg_Print_Params)
// Specifies the scale factor in percent
IPC_STRUCT_TRAITS_MEMBER(scale_factor)
// Desired apparent dpi on paper.
IPC_STRUCT_TRAITS_MEMBER(desired_dpi)
// Cookie for the document to ensure correctness.
IPC_STRUCT_TRAITS_MEMBER(document_cookie)