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

Unified Diff: chrome/browser/resources/print_preview/data/print_ticket_store.js

Issue 2861713004: Print Preview: Fix compile errors in settings/ directory (Closed)
Patch Set: Address comments and fix remaining lint errors Created 3 years, 8 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/print_ticket_store.js
diff --git a/chrome/browser/resources/print_preview/data/print_ticket_store.js b/chrome/browser/resources/print_preview/data/print_ticket_store.js
index 9bc13f0846f2ad60221b60c6c404208fc21c3f5c..e4530a28a9a44fedc53aafb771d23e2e8efe5561 100644
--- a/chrome/browser/resources/print_preview/data/print_ticket_store.js
+++ b/chrome/browser/resources/print_preview/data/print_ticket_store.js
@@ -434,7 +434,7 @@ cr.define('print_preview', function() {
isTicketValidForPreview: function() {
return (!this.marginsType_.isCapabilityAvailable() ||
!this.marginsType_.isValueEqual(
- print_preview.ticket_items.MarginsType.Value.CUSTOM) ||
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM) ||
this.customMargins_.isValid());
},
@@ -559,9 +559,9 @@ cr.define('print_preview', function() {
if (this.capabilitiesHolder_.get() != null) {
this.customMargins_.updateValue(null);
if (this.marginsType_.getValue() ==
- print_preview.ticket_items.MarginsType.Value.CUSTOM) {
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM) {
this.marginsType_.updateValue(
- print_preview.ticket_items.MarginsType.Value.DEFAULT);
+ print_preview.ticket_items.MarginsTypeValue.DEFAULT);
}
this.vendorItems_.updateValue({});
}

Powered by Google App Engine
This is Rietveld 408576698