diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 23:46:07 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 23:46:07 +0000 |
commit | 60745416082f8f0eebca05ad50da4bc0786f5a20 (patch) | |
tree | e07c5d861f30649fc6540396d693b34ca3834cc4 /printing/printing_context_win.cc | |
parent | be8aea74b57599336df6a235dbd173fd557a7a67 (diff) | |
download | chromium_src-60745416082f8f0eebca05ad50da4bc0786f5a20.zip chromium_src-60745416082f8f0eebca05ad50da4bc0786f5a20.tar.gz chromium_src-60745416082f8f0eebca05ad50da4bc0786f5a20.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/3418034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing_context_win.cc')
-rw-r--r-- | printing/printing_context_win.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc index 83ddfd4..94108cd 100644 --- a/printing/printing_context_win.cc +++ b/printing/printing_context_win.cc @@ -330,6 +330,7 @@ PrintingContext::Result PrintingContext::DocumentDone() { if (abort_printing_) return CANCEL; DCHECK(in_print_job_); + DCHECK(context_); // Inform the driver that document has ended. if (EndDoc(context_) <= 0) |