| Index: chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
|
| diff --git a/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js b/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
|
| index ae27fbb6518e7125b4cf59e692ff77d81a5b1e37..82a65d361f598bebc25ddbc2cc0c5d3d85e43ffd 100644
|
| --- a/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
|
| +++ b/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
|
| @@ -63,16 +63,16 @@ cr.define('print_preview.ticket_items', function() {
|
| /** @return {Object} Vendor capabilities of the selected destination. */
|
| get capability() {
|
| var destination = this.destinationStore_ ?
|
| - this.destinationStore_.selectedDestination : null;
|
| + this.destinationStore_.selectedDestination :
|
| + null;
|
| if (!destination)
|
| return null;
|
| if (destination.type == print_preview.DestinationType.MOBILE) {
|
| return null;
|
| }
|
| - return (destination.capabilities &&
|
| - destination.capabilities.printer &&
|
| + return (destination.capabilities && destination.capabilities.printer &&
|
| destination.capabilities.printer.vendor_capability) ||
|
| - null;
|
| + null;
|
| },
|
|
|
| /**
|
| @@ -106,7 +106,5 @@ cr.define('print_preview.ticket_items', function() {
|
| };
|
|
|
| // Export
|
| - return {
|
| - VendorItems: VendorItems
|
| - };
|
| + return {VendorItems: VendorItems};
|
| });
|
|
|