From 3b52c980420f07c2a18c7589873227d5c5ebf49f Mon Sep 17 00:00:00 2001 From: "jhawkins@chromium.org" Date: Mon, 27 Sep 2010 20:40:36 +0000 Subject: 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 --- printing/printed_document_mac.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'printing/printed_document_mac.cc') 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; -- cgit v1.1