Index: chrome/renderer/print_web_view_helper.cc |
diff --git a/chrome/renderer/print_web_view_helper.cc b/chrome/renderer/print_web_view_helper.cc |
index e93407e7066e51277acb560b5c805e133677c215..7692ec216b8bdefc333519bb3e8a489851fa748f 100644 |
--- a/chrome/renderer/print_web_view_helper.cc |
+++ b/chrome/renderer/print_web_view_helper.cc |
@@ -996,6 +996,8 @@ void PrintWebViewHelper::GetPageSizeAndMarginsInPoints( |
// Invalid page size and/or margins. We just use the default setting. |
if (page_layout_in_points->content_width < 1.0 || |
page_layout_in_points->content_height < 1.0) { |
+ // TODO(vandebo) remove CHECK after debugging crbug.com/96063 |
+ CHECK(frame != NULL); |
GetPageSizeAndMarginsInPoints(NULL, page_index, default_params, |
page_layout_in_points); |
return; |