diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 20:40:36 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 20:40:36 +0000 |
commit | 3b52c980420f07c2a18c7589873227d5c5ebf49f (patch) | |
tree | a428ad9004706fbb2e47a70876fa388c1910c710 /printing/printed_document_win.cc | |
parent | 2073bd0b00962a89513618d3b7034c28f346ba3f (diff) | |
download | chromium_src-3b52c980420f07c2a18c7589873227d5c5ebf49f.zip chromium_src-3b52c980420f07c2a18c7589873227d5c5ebf49f.tar.gz chromium_src-3b52c980420f07c2a18c7589873227d5c5ebf49f.tar.bz2 |
Printing: Push checking of |context| one level lower, as the different
platforms have different expectations at this level.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3475021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60704 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printed_document_win.cc')
-rw-r--r-- | printing/printed_document_win.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/printing/printed_document_win.cc b/printing/printed_document_win.cc index 081bddc..e6a1126 100644 --- a/printing/printed_document_win.cc +++ b/printing/printed_document_win.cc @@ -46,6 +46,8 @@ void PrintedDocument::RenderPrintedPage( } #endif + DCHECK(context); + const printing::PageSetup& page_setup( immutable_.settings_.page_setup_device_units()); gfx::Rect content_area; |