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

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/vendor_items.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/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 af17ce0d18d6c20bdb92e1bce53af7a8836d6f7f..ae27fbb6518e7125b4cf59e692ff77d81a5b1e37 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
@@ -40,7 +40,7 @@ cr.define('print_preview.ticket_items', function() {
* @private {!Object<string>}
*/
this.items_ = {};
- };
+ }
VendorItems.prototype = {
__proto__: cr.EventTarget.prototype,
@@ -66,7 +66,7 @@ cr.define('print_preview.ticket_items', function() {
this.destinationStore_.selectedDestination : null;
if (!destination)
return null;
- if (destination.type == print_preview.Destination.Type.MOBILE) {
+ if (destination.type == print_preview.DestinationType.MOBILE) {
return null;
}
return (destination.capabilities &&
@@ -100,7 +100,7 @@ cr.define('print_preview.ticket_items', function() {
if (this.appState_) {
this.appState_.persistField(
- print_preview.AppState.Field.VENDOR_OPTIONS, this.items_);
+ print_preview.AppStateField.VENDOR_OPTIONS, this.items_);
}
}
};

Powered by Google App Engine
This is Rietveld 408576698