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

Unified Diff: chrome/browser/resources/print_preview/preview_generator.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/preview_generator.js
diff --git a/chrome/browser/resources/print_preview/preview_generator.js b/chrome/browser/resources/print_preview/preview_generator.js
index 8313ed736b67de93ec7b07b9178ec17f896dc4f1..6a955e055729be92c3d846c4355d7a5ed4caf381 100644
--- a/chrome/browser/resources/print_preview/preview_generator.js
+++ b/chrome/browser/resources/print_preview/preview_generator.js
@@ -109,10 +109,10 @@ cr.define('print_preview', function() {
/**
* Margins type used to generate the last preview.
- * @type {!print_preview.ticket_items.MarginsType.Value}
+ * @type {!print_preview.ticket_items.MarginsTypeValue}
* @private
*/
- this.marginsType_ = print_preview.ticket_items.MarginsType.Value.DEFAULT;
+ this.marginsType_ = print_preview.ticket_items.MarginsTypeValue.DEFAULT;
/**
* Whether the document should have element CSS backgrounds printed.
@@ -291,9 +291,9 @@ cr.define('print_preview', function() {
this.pageRanges_) ||
(!ticketStore.marginsType.isValueEqual(this.marginsType_) &&
!ticketStore.marginsType.isValueEqual(
- print_preview.ticket_items.MarginsType.Value.CUSTOM)) ||
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM)) ||
(ticketStore.marginsType.isValueEqual(
- print_preview.ticket_items.MarginsType.Value.CUSTOM) &&
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM) &&
!ticketStore.customMargins.isValueEqual(
this.documentInfo_.margins)) ||
!ticketStore.cssBackground.isValueEqual(

Powered by Google App Engine
This is Rietveld 408576698