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

Unified Diff: chrome/renderer/print_web_view_helper.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
« no previous file with comments | « no previous file | printing/page_setup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7114a5dac9d38511fbb993cdef41e084393f8cd4..08814fc5b301eb32ad04424fe8ecccf39d480bee 100644
--- a/chrome/renderer/print_web_view_helper.cc
+++ b/chrome/renderer/print_web_view_helper.cc
@@ -985,7 +985,6 @@ 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);
vandebo (ex-Chrome) 2011/10/07 19:50:00 I'm leaving this check in because it won't run ver
GetPageSizeAndMarginsInPoints(NULL, page_index, default_params,
page_layout_in_points);
« no previous file with comments | « no previous file | printing/page_setup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698