| 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 f48948c6e0e879ef86baa7e05a3a039337009c53..243894a837245c00f839b97f8ba508f0369ef7d4 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,17 +63,17 @@ 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.id == print_preview.Destination.GooglePromotedId.FEDEX ||
|
| destination.type == print_preview.Destination.Type.MOBILE) {
|
| return null;
|
| }
|
| - return (destination.capabilities &&
|
| - destination.capabilities.printer &&
|
| + return (destination.capabilities && destination.capabilities.printer &&
|
| destination.capabilities.printer.vendor_capability) ||
|
| - null;
|
| + null;
|
| },
|
|
|
| /**
|
| @@ -107,7 +107,5 @@ cr.define('print_preview.ticket_items', function() {
|
| };
|
|
|
| // Export
|
| - return {
|
| - VendorItems: VendorItems
|
| - };
|
| + return {VendorItems: VendorItems};
|
| });
|
|
|