diff options
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) |