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

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

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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/margins_type.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/margins_type.js b/chrome/browser/resources/print_preview/data/ticket_items/margins_type.js
index 73fa0b1e1de3a8160f5af63d9af818084ebc3cff..808e14864645c0e0ec02a48230252c7d43a219c6 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/margins_type.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/margins_type.js
@@ -35,11 +35,8 @@ cr.define('print_preview.ticket_items', function() {
*/
function MarginsType(appState, documentInfo, customMargins) {
print_preview.ticket_items.TicketItem.call(
- this,
- appState,
- print_preview.AppStateField.MARGINS_TYPE,
- null /*destinationStore*/,
- documentInfo);
+ this, appState, print_preview.AppStateField.MARGINS_TYPE,
+ null /*destinationStore*/, documentInfo);
/**
* Custom margins ticket item, used to write when margins type changes.
@@ -77,7 +74,7 @@ cr.define('print_preview.ticket_items', function() {
print_preview.ticket_items.TicketItem.prototype.updateValueInternal.call(
this, value);
if (this.isValueEqual(
- print_preview.ticket_items.MarginsTypeValue.CUSTOM)) {
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM)) {
// If CUSTOM, set the value of the custom margins so that it won't be
// overridden by the default value.
this.customMargins_.updateValue(this.customMargins_.getValue());
@@ -86,7 +83,5 @@ cr.define('print_preview.ticket_items', function() {
};
// Export
- return {
- MarginsType: MarginsType
- };
+ return {MarginsType: MarginsType};
});

Powered by Google App Engine
This is Rietveld 408576698