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

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/scaling.js

Issue 2617663002: WIP: run clang-format-js on lots of things (Closed)
Patch Set: merge Created 3 years, 11 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/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};
});

Powered by Google App Engine
This is Rietveld 408576698