parent
7a4ca08a8d
commit
fb7bd8f11e
2 changed files with 0 additions and 3 deletions
|
@ -118,7 +118,6 @@ void PrintSettingsToJobSettings(const PrintSettings& settings,
|
|||
job_settings->SetInteger(kSettingScaleFactor, 100);
|
||||
job_settings->SetBoolean("rasterizePDF", false);
|
||||
|
||||
job_settings->SetInteger("desiredDpi", settings.desired_dpi());
|
||||
job_settings->SetInteger("dpi", settings.dpi());
|
||||
|
||||
job_settings->SetBoolean(kSettingPrintToPDF, false);
|
||||
|
|
|
@ -48,8 +48,6 @@ void RenderParamsFromPrintSettings(const PrintSettings& settings,
|
|||
params->margin_left = settings.page_setup_device_units().content_area().x();
|
||||
params->dpi = settings.dpi();
|
||||
params->scale_factor = settings.scale_factor();
|
||||
// Currently hardcoded at 72dpi. See PrintSettings' constructor.
|
||||
params->desired_dpi = settings.desired_dpi();
|
||||
// Always use an invalid cookie.
|
||||
params->document_cookie = 0;
|
||||
params->selection_only = settings.selection_only();
|
||||
|
|
Loading…
Reference in a new issue