Index: chrome/test/data/webui/print_preview_destination_search_test.js |
diff --git a/chrome/test/data/webui/print_preview_destination_search_test.js b/chrome/test/data/webui/print_preview_destination_search_test.js |
index aaf509963fe2aebef94b200db1694681a456e732..b2f38db8730782a4749227cea1ce0c2898588900 100644 |
--- a/chrome/test/data/webui/print_preview_destination_search_test.js |
+++ b/chrome/test/data/webui/print_preview_destination_search_test.js |
@@ -129,14 +129,14 @@ TEST_F('PrintPreviewDestinationSearchTest', 'Select', function() { |
}; |
function requestSetup(destId, destinationSearch) { |
- var origin = cr.isChromeOS ? print_preview.Destination.Origin.CROS : |
- print_preview.Destination.Origin.LOCAL; |
+ var origin = cr.isChromeOS ? print_preview.DestinationOrigin.CROS : |
+ print_preview.DestinationOrigin.LOCAL; |
var dest = new print_preview.Destination(destId, |
- print_preview.Destination.Type.LOCAL, |
+ print_preview.DestinationType.LOCAL, |
origin, |
"displayName", |
- print_preview.Destination.ConnectionStatus.ONLINE); |
+ print_preview.DestinationConnectionStatus.ONLINE); |
// Add the destination to the list. |
destinationSearch.localList_.updateDestinations([dest]); |
@@ -230,10 +230,10 @@ TEST_F('PrintPreviewDestinationSearchTest', 'Select', function() { |
// Create cloud destination. |
var cloudDest = new print_preview.Destination(printerId, |
- print_preview.Destination.Type.GOOGLE, |
- print_preview.Destination.Origin.DEVICE, |
+ print_preview.DestinationType.GOOGLE, |
+ print_preview.DestinationOrigin.DEVICE, |
"displayName", |
- print_preview.Destination.ConnectionStatus.ONLINE); |
+ print_preview.DestinationConnectionStatus.ONLINE); |
cloudDest.capabilities = getCaps(); |
// Place destination in the local list as happens for Kiosk printers. |