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

Unified Diff: printing/page_setup.cc

Issue 8200010: Sanity check the printable area returned by windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/page_setup.cc
diff --git a/printing/page_setup.cc b/printing/page_setup.cc
index 46431d836c78add4ecad605987d8c29aac8cdada..9ac3e5203166832ed3f17a0b4652e1f56ef8f64b 100644
--- a/printing/page_setup.cc
+++ b/printing/page_setup.cc
@@ -119,8 +119,6 @@ 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) {

Powered by Google App Engine
This is Rietveld 408576698