| Index: chrome/browser/resources/print_preview/color_settings.js
|
| diff --git a/chrome/browser/resources/print_preview/color_settings.js b/chrome/browser/resources/print_preview/color_settings.js
|
| index 9289c9f5c05c2a2aa935af8efc0a27414f2920b3..f64616b15ec3521e03c9931330493a84968bdcad 100644
|
| --- a/chrome/browser/resources/print_preview/color_settings.js
|
| +++ b/chrome/browser/resources/print_preview/color_settings.js
|
| @@ -77,8 +77,12 @@ cr.define('print_preview', function() {
|
| this.colorOption_.setAttribute('aria-hidden', disableColorOption);
|
|
|
| var setColorAsDefault = e.printerCapabilities.setColorAsDefault;
|
| - this.printerColorModelForColor_ =
|
| - e.printerCapabilities.printerColorModelForColor;
|
| + if (e.printerCapabilities.printerColorModelForColor) {
|
| + this.printerColorModelForColor_ =
|
| + e.printerCapabilities.printerColorModelForColor;
|
| + } else {
|
| + this.printerColorModelForColor_ = ColorSettings.COLOR;
|
| + }
|
| if (e.printerCapabilities.printerColorModelForBlack) {
|
| this.printerColorModelForBlack_ =
|
| e.printerCapabilities.printerColorModelForBlack;
|
|
|