Index: chrome/browser/resources/print_preview/native_layer.js |
diff --git a/chrome/browser/resources/print_preview/native_layer.js b/chrome/browser/resources/print_preview/native_layer.js |
index 89254278c0dd252c99015c065145f30003c264b1..37d0c060583c309e11b6180af619323b483484a8 100644 |
--- a/chrome/browser/resources/print_preview/native_layer.js |
+++ b/chrome/browser/resources/print_preview/native_layer.js |
@@ -168,7 +168,8 @@ cr.define('print_preview', function() { |
'duplex': printTicketStore.isDuplexEnabled() ? |
NativeLayer.DuplexMode.LONG_EDGE : NativeLayer.DuplexMode.SIMPLEX, |
'copies': printTicketStore.getCopies(), |
- 'collate': printTicketStore.isCollateEnabled() |
+ 'collate': printTicketStore.isCollateEnabled(), |
+ 'shouldPrintBackgrounds': printTicketStore.isCssBackgroundEnabled() |
}; |
// Set 'cloudPrintID' only if the destination is not local. |
@@ -225,6 +226,7 @@ cr.define('print_preview', function() { |
NativeLayer.DuplexMode.LONG_EDGE : NativeLayer.DuplexMode.SIMPLEX, |
'copies': printTicketStore.getCopies(), |
'collate': printTicketStore.isCollateEnabled(), |
+ 'shouldPrintBackgrounds': printTicketStore.isCssBackgroundEnabled(), |
'previewModifiable': printTicketStore.isDocumentModifiable, |
'printToPDF': destination.id == |
print_preview.Destination.GooglePromotedId.SAVE_AS_PDF, |