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

Unified Diff: printing/printed_document_mac.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_mac.cc
diff --git a/printing/printed_document_mac.cc b/printing/printed_document_mac.cc
index 924ec0f4ff8d6d9394ac8fa8e14f32b12bb59475..f729215acb7dc8d7b1b8c5086106792fe02f518d 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;

Powered by Google App Engine
This is Rietveld 408576698