Remove desired DPI

https://codereview.chromium.org/2788343003
This commit is contained in:
Aleksei Kuzmin 2017-06-16 23:46:28 +03:00
parent 7a4ca08a8d
commit fb7bd8f11e
2 changed files with 0 additions and 3 deletions

View file

@ -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);

View file

@ -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();