| Index: components/printing/renderer/print_web_view_helper.cc
|
| diff --git a/components/printing/renderer/print_web_view_helper.cc b/components/printing/renderer/print_web_view_helper.cc
|
| index 991105448bb6ac3bea46a6f7a63c1dbbd3bd738a..bbb018922b5eccf4a04af7029cd447ee32ee8e7c 100644
|
| --- a/components/printing/renderer/print_web_view_helper.cc
|
| +++ b/components/printing/renderer/print_web_view_helper.cc
|
| @@ -111,9 +111,9 @@
|
| bool PrintMsg_Print_Params_IsValid(const PrintMsg_Print_Params& params) {
|
| return !params.content_size.IsEmpty() && !params.page_size.IsEmpty() &&
|
| !params.printable_area.IsEmpty() && params.document_cookie &&
|
| - params.desired_dpi && params.max_shrink && params.min_shrink &&
|
| - params.dpi && (params.margin_top >= 0) && (params.margin_left >= 0) &&
|
| - params.dpi > kMinDpi && params.document_cookie != 0;
|
| + params.desired_dpi && params.dpi && params.margin_top >= 0 &&
|
| + params.margin_left >= 0 && params.dpi > kMinDpi &&
|
| + params.document_cookie != 0;
|
| }
|
|
|
| PrintMsg_Print_Params GetCssPrintParams(
|
|
|