Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2039)

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/color.js

Issue 2862203002: Print Preview: Fix data/ errors (Closed)
Patch Set: Fix destination resolver Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/print_preview/data/ticket_items/color.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/color.js b/chrome/browser/resources/print_preview/data/ticket_items/color.js
index 274050118db529472776ef360e23d51ae647caf7..ccbbcbf8d40fc38d3647d430d588b9443403c112 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/color.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/color.js
@@ -19,9 +19,9 @@ cr.define('print_preview.ticket_items', function() {
print_preview.ticket_items.TicketItem.call(
this,
appState,
- print_preview.AppState.Field.IS_COLOR_ENABLED,
+ print_preview.AppStateField.IS_COLOR_ENABLED,
destinationStore);
- };
+ }
/**
* @private {!Array<string>} List of capability types considered color.
@@ -105,7 +105,7 @@ cr.define('print_preview.ticket_items', function() {
var dest = this.getSelectedDestInternal();
if (dest) {
if (dest.id == print_preview.Destination.GooglePromotedId.DOCS ||
- dest.type == print_preview.Destination.Type.MOBILE) {
+ dest.type == print_preview.DestinationType.MOBILE) {
return true;
}
}

Powered by Google App Engine
This is Rietveld 408576698