From d927a7ede41e9cbea95a0c3750ca981402f358ee Mon Sep 17 00:00:00 2001 From: "vandebo@chromium.org" Date: Sat, 10 Sep 2011 05:24:10 +0000 Subject: Add check to debug issue 96063. BUG=96063 TEST=NONE Review URL: http://codereview.chromium.org/7868001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100567 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/print_web_view_helper.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome') diff --git a/chrome/renderer/print_web_view_helper.cc b/chrome/renderer/print_web_view_helper.cc index e93407e..7692ec2 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; -- cgit v1.1