Add check to debug issue 96063
BUG=96063 TEST=NONE Review URL: http://codereview.chromium.org/8054031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103083 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user