diff options
Diffstat (limited to 'chromium/printing/print_settings.cc')
-rw-r--r-- | chromium/printing/print_settings.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chromium/printing/print_settings.cc b/chromium/printing/print_settings.cc index f7935649e6c..b95ba271197 100644 --- a/chromium/printing/print_settings.cc +++ b/chromium/printing/print_settings.cc @@ -154,8 +154,7 @@ PrintSettings::PrintSettings() { PrintSettings::PrintSettings(const PrintSettings& other) = default; -PrintSettings::~PrintSettings() { -} +PrintSettings::~PrintSettings() = default; void PrintSettings::Clear() { ranges_.clear(); @@ -172,8 +171,7 @@ void PrintSettings::Clear() { device_name_.clear(); requested_media_ = RequestedMedia(); page_setup_device_units_.Clear(); - dpi_[0] = 0; - dpi_[1] = 0; + dpi_ = gfx::Size(); scale_factor_ = 1.0f; rasterize_pdf_ = false; landscape_ = false; |