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

Unified Diff: printing/printing_context.cc

Issue 216123002: Removed invalid DCHECK in printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context.cc
diff --git a/printing/printing_context.cc b/printing/printing_context.cc
index c8e8e8711aa0a49835629ac6a23a8e4a684b3a3e..8451463559739d3b3a7ff6504e3bd68f89165fb3 100644
--- a/printing/printing_context.cc
+++ b/printing/printing_context.cc
@@ -85,7 +85,6 @@ PrintingContext::Result PrintingContext::UpdatePrintSettings(
kCloudPrintMarginInch * settings_.device_units_per_inch(),
kCloudPrintMarginInch * settings_.device_units_per_inch());
}
- DCHECK_EQ(settings_.device_units_per_inch(), kDefaultPdfDpi);
settings_.SetPrinterPrintableArea(paper_size, paper_rect, true);
return OK;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698