diff options
Diffstat (limited to 'printing')
-rw-r--r-- | printing/page_setup.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/printing/page_setup.cc b/printing/page_setup.cc index 9ac3e520..46431d8 100644 --- a/printing/page_setup.cc +++ b/printing/page_setup.cc @@ -119,6 +119,8 @@ void PageSetup::Init(const gfx::Size& physical_size, physical_size.height() - effective_margins_.bottom - content_area_.y())); + // TODO(vandebo) Remove once bug 96063 is resolved. + CHECK(content_area_.width() > 0 && content_area_.height() > 0); } void PageSetup::SetRequestedMargins(const PageMargins& requested_margins) { |