Skip to content

Commit

Permalink
PrintPreview: Initialize header footer member variables in |PrintSett…
Browse files Browse the repository at this point in the history
…ings| class.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/7713027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97787 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
kmadhusu@chromium.org committed Aug 23, 2011
1 parent 1d9b53d commit a100f75
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions printing/print_settings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ PrintSettings::PrintSettings()
desired_dpi(72),
selection_only(false),
use_overlays(true),
date(),
title(),
url(),
display_header_footer(false),
dpi_(0),
landscape_(false),
supports_alpha_blend_(true) {
Expand All @@ -32,6 +36,10 @@ void PrintSettings::Clear() {
max_shrink = 2.;
desired_dpi = 72;
selection_only = false;
date = string16();
title = string16();
url = string16();
display_header_footer = false;
printer_name_.clear();
device_name_.clear();
page_setup_device_units_.Clear();
Expand Down

0 comments on commit a100f75

Please sign in to comment.