commit | 3b52c980420f07c2a18c7589873227d5c5ebf49f | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Sep 27 20:40:36 2010 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Sep 27 20:40:36 2010 |
tree | a428ad9004706fbb2e47a70876fa388c1910c710 | |
parent | 2073bd0b00962a89513618d3b7034c28f346ba3f [diff] [blame] |
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
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc index a94c71f..83ddfd4 100644 --- a/printing/printing_context_win.cc +++ b/printing/printing_context_win.cc
@@ -301,6 +301,8 @@ PrintingContext::Result PrintingContext::NewPage() { if (abort_printing_) return CANCEL; + + DCHECK(context_); DCHECK(in_print_job_); // Inform the driver that the application is about to begin sending data.