commit | c7a90019bf7054145b11d2577b851cf2779d3d79 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Sep 22 05:31:00 2011 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Sep 22 05:31:00 2011 |
tree | 18ed5d8349b2e3d37767fd84e5f23fd162b3ede6 | |
parent | 19cc5b468085104e660cc977987e1b78ad99db13 [diff] [blame] |
Fix print preview workflow to reflect settings of selected printer. BUG=95110 TEST=none Review URL: http://codereview.chromium.org/7831041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102242 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/printing/printing_context_cairo.cc b/printing/printing_context_cairo.cc index 16eb837..c4a7105 100644 --- a/printing/printing_context_cairo.cc +++ b/printing/printing_context_cairo.cc
@@ -155,6 +155,11 @@ #else DCHECK(!in_print_job_); + if (!print_dialog_) { + print_dialog_ = create_dialog_func_(this); + print_dialog_->AddRefToDialog(); + } + if (!print_dialog_->UpdateSettings(job_settings, ranges)) return OnError();