Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2384)

Unified Diff: printing/printed_document_win.cc

Issue 3475021: Printing: Push checking of |context| one level lower, as the different (Closed)
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: printing/printed_document_win.cc
diff --git a/printing/printed_document_win.cc b/printing/printed_document_win.cc
index 3a57b94af0794cd3c8f2efaacda42e248a0a04d3..4acd71f3154f9a4c72ccdd8ef5fa9b8200bf62cd 100644
--- a/printing/printed_document_win.cc
+++ b/printing/printed_document_win.cc
@@ -48,6 +48,8 @@ void PrintedDocument::RenderPrintedPage(
}
#endif
+ DCHECK(context);
+
const printing::PageSetup& page_setup(
immutable_.settings_.page_setup_device_units());
gfx::Rect content_area;

Powered by Google App Engine
This is Rietveld 408576698