| 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 c7f3a37fb58fbc24f7c247fa2db982dd3a15bcf1..2cb735a79d16d3981e0d5cd608f58fff5503e26d 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.AppState.Field.SCALING,
|
| - destinationStore,
|
| + this, appState, print_preview.AppState.Field.SCALING, destinationStore,
|
| documentInfo);
|
| };
|
|
|
| @@ -72,9 +69,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;
|
| },
|
|
|
| @@ -95,7 +92,5 @@ cr.define('print_preview.ticket_items', function() {
|
| };
|
|
|
| // Export
|
| - return {
|
| - Scaling: Scaling
|
| - };
|
| + return {Scaling: Scaling};
|
| });
|
|
|