| Index: chrome/browser/resources/print_preview/data/ticket_items/scaling.js
|
| diff --git a/chrome/browser/resources/print_preview/data/ticket_items/scaling.js b/chrome/browser/resources/print_preview/data/ticket_items/scaling.js
|
| index e3703d4ff22ca82ce094ea7ad31fcb3050f39a50..e1099dadf365c192e5e4075fa436871202a63025 100644
|
| --- a/chrome/browser/resources/print_preview/data/ticket_items/scaling.js
|
| +++ b/chrome/browser/resources/print_preview/data/ticket_items/scaling.js
|
| @@ -19,10 +19,7 @@ cr.define('print_preview.ticket_items', function() {
|
| */
|
| function Scaling(appState, destinationStore, documentInfo) {
|
| print_preview.ticket_items.TicketItem.call(
|
| - this,
|
| - appState,
|
| - print_preview.AppStateField.SCALING,
|
| - destinationStore,
|
| + this, appState, print_preview.AppStateField.SCALING, destinationStore,
|
| documentInfo);
|
| }
|
|
|
| @@ -46,9 +43,9 @@ cr.define('print_preview.ticket_items', function() {
|
| var knownSizeToSaveAsPdf =
|
| (!this.getDocumentInfoInternal().isModifiable ||
|
| this.getDocumentInfoInternal().hasCssMediaStyles) &&
|
| - this.getSelectedDestInternal() &&
|
| - this.getSelectedDestInternal().id ==
|
| - print_preview.Destination.GooglePromotedId.SAVE_AS_PDF;
|
| + this.getSelectedDestInternal() &&
|
| + this.getSelectedDestInternal().id ==
|
| + print_preview.Destination.GooglePromotedId.SAVE_AS_PDF;
|
| return !knownSizeToSaveAsPdf;
|
| },
|
|
|
| @@ -69,7 +66,5 @@ cr.define('print_preview.ticket_items', function() {
|
| };
|
|
|
| // Export
|
| - return {
|
| - Scaling: Scaling
|
| - };
|
| + return {Scaling: Scaling};
|
| });
|
|
|