| Index: chrome/browser/resources/print_preview/search/destination_list_item.js
|
| diff --git a/chrome/browser/resources/print_preview/search/destination_list_item.js b/chrome/browser/resources/print_preview/search/destination_list_item.js
|
| index 20e3c2dfa3c78aa90264a110c384c8c085117479..58ded04a498b856881afd9fdd189b3a7594ebab7 100644
|
| --- a/chrome/browser/resources/print_preview/search/destination_list_item.js
|
| +++ b/chrome/browser/resources/print_preview/search/destination_list_item.js
|
| @@ -99,7 +99,7 @@ cr.define('print_preview', function() {
|
| onConfigureRequestAccepted: function() {
|
| // It must be a Chrome OS CUPS printer which hasn't been set up before.
|
| assert(
|
| - this.destination_.origin == print_preview.Destination.Origin.CROS &&
|
| + this.destination_.origin == print_preview.DestinationOrigin.CROS &&
|
| !this.destination_.capabilities);
|
| this.updateConfiguringMessage_(true);
|
| },
|
| @@ -207,7 +207,7 @@ cr.define('print_preview', function() {
|
| setIsVisible(
|
| this.getChildElement('.register-promo'),
|
| this.destination_.connectionStatus ==
|
| - print_preview.Destination.ConnectionStatus.UNREGISTERED);
|
| + print_preview.DestinationConnectionStatus.UNREGISTERED);
|
|
|
| if (cr.isChromeOS) {
|
| // Reset the configuring messages for CUPS printers.
|
| @@ -277,7 +277,7 @@ cr.define('print_preview', function() {
|
| */
|
| onDestinationActivated_: function() {
|
| if (this.destination_.connectionStatus !=
|
| - print_preview.Destination.ConnectionStatus.UNREGISTERED) {
|
| + print_preview.DestinationConnectionStatus.UNREGISTERED) {
|
| var selectEvt = new Event(DestinationListItem.EventType.SELECT);
|
| selectEvt.destination = this.destination_;
|
| this.eventTarget_.dispatchEvent(selectEvt);
|
|
|