| Index: chrome/browser/resources/print_preview/settings/settings_section_select.js
|
| diff --git a/chrome/browser/resources/print_preview/settings/settings_section_select.js b/chrome/browser/resources/print_preview/settings/settings_section_select.js
|
| index 0799c94e1c0c200160bd45daf236c0bd71275e45..0a15bd52fa68640944bda071adfc8a5fdb11c19e 100644
|
| --- a/chrome/browser/resources/print_preview/settings/settings_section_select.js
|
| +++ b/chrome/browser/resources/print_preview/settings/settings_section_select.js
|
| @@ -41,12 +41,12 @@ cr.define('print_preview', function() {
|
| /** @override */
|
| enterDocument: function() {
|
| print_preview.SettingsSection.prototype.enterDocument.call(this);
|
| - this.tracker.add(assert(this.select_),
|
| - 'change',
|
| - this.onSelectChange_.bind(this));
|
| - this.tracker.add(this.ticketItem_,
|
| - print_preview.ticket_items.TicketItem.EventType.CHANGE,
|
| - this.onTicketItemChange_.bind(this));
|
| + this.tracker.add(
|
| + assert(this.select_), 'change', this.onSelectChange_.bind(this));
|
| + this.tracker.add(
|
| + this.ticketItem_,
|
| + print_preview.ticket_items.TicketItem.EventType.CHANGE,
|
| + this.onTicketItemChange_.bind(this));
|
| },
|
|
|
| /**
|
| @@ -80,7 +80,7 @@ cr.define('print_preview', function() {
|
| this.ticketItem_.capability.option.forEach(function(option, index) {
|
| var selectOption = document.createElement('option');
|
| selectOption.text = this.getCustomDisplayName_(option) ||
|
| - this.getDefaultDisplayName_(option);
|
| + this.getDefaultDisplayName_(option);
|
| selectOption.value = JSON.stringify(option);
|
| select.appendChild(selectOption);
|
| if (option.is_default)
|
| @@ -144,7 +144,5 @@ cr.define('print_preview', function() {
|
| };
|
|
|
| // Export
|
| - return {
|
| - SettingsSectionSelect: SettingsSectionSelect
|
| - };
|
| + return {SettingsSectionSelect: SettingsSectionSelect};
|
| });
|
|
|