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

Unified Diff: chrome/browser/resources/print_preview/settings/other_options_settings.js

Issue 2616783002: Remove Print As Image for Mac and Win (Closed)
Patch Set: Fix last OS check Created 3 years, 11 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: chrome/browser/resources/print_preview/settings/other_options_settings.js
diff --git a/chrome/browser/resources/print_preview/settings/other_options_settings.js b/chrome/browser/resources/print_preview/settings/other_options_settings.js
index 522869aef03542da3b4af00a625d85dc6afe5a98..ba65d83749a33aca398b4b713c8bd23ab8dd7567 100644
--- a/chrome/browser/resources/print_preview/settings/other_options_settings.js
+++ b/chrome/browser/resources/print_preview/settings/other_options_settings.js
@@ -140,7 +140,8 @@ cr.define('print_preview', function() {
* @private {boolean} rasterizeEnabled Whether the print as image feature is
* enabled.
*/
- this.rasterizeEnabled_ = loadTimeData.getBoolean('printPdfAsImageEnabled');
+ this.rasterizeEnabled_ = (!cr.isWindows && !cr.isMac) &&
+ loadTimeData.getBoolean('printPdfAsImageEnabled');
/**
* @private {!Array<!CheckboxTicketItemElement>} checkbox ticket item

Powered by Google App Engine
This is Rietveld 408576698