summaryrefslogtreecommitdiffstats
path: root/printing/printed_document_mac.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-27 20:40:36 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-27 20:40:36 +0000
commit3b52c980420f07c2a18c7589873227d5c5ebf49f (patch)
treea428ad9004706fbb2e47a70876fa388c1910c710 /printing/printed_document_mac.cc
parent2073bd0b00962a89513618d3b7034c28f346ba3f (diff)
downloadchromium_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_mac.cc')
-rw-r--r--printing/printed_document_mac.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/printing/printed_document_mac.cc b/printing/printed_document_mac.cc
index 924ec0f..f729215 100644
--- a/printing/printed_document_mac.cc
+++ b/printing/printed_document_mac.cc
@@ -24,6 +24,8 @@ void PrintedDocument::RenderPrintedPage(
}
#endif
+ DCHECK(context);
+
const printing::PageSetup& page_setup(
immutable_.settings_.page_setup_device_units());
gfx::Rect content_area;