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

Unified Diff: chrome/browser/resources/print_preview/settings/copies_settings.js

Issue 2861713004: Print Preview: Fix compile errors in settings/ directory (Closed)
Patch Set: Address comments and fix remaining lint errors Created 3 years, 8 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/settings/copies_settings.js
diff --git a/chrome/browser/resources/print_preview/settings/copies_settings.js b/chrome/browser/resources/print_preview/settings/copies_settings.js
index cfd5bbd10499e3337dd88b07ab42f507b51c7f38..949c384a1691df9ec35b22d558dd50813f18b53d 100644
--- a/chrome/browser/resources/print_preview/settings/copies_settings.js
+++ b/chrome/browser/resources/print_preview/settings/copies_settings.js
@@ -51,7 +51,7 @@ cr.define('print_preview', function() {
* @private
*/
this.inputField_ = null;
- };
+ }
/**
* Delay in milliseconds before processing the textfield.
@@ -85,7 +85,7 @@ cr.define('print_preview', function() {
/** @override */
enterDocument: function() {
- this.inputField_ = this.getChildElement('input.user-value');
+ this.inputField_ = assert(this.getChildElement('input.user-value'));
print_preview.SettingsSection.prototype.enterDocument.call(this);
this.tracker.add(
this.inputField_,
@@ -100,7 +100,7 @@ cr.define('print_preview', function() {
'blur',
this.onTextfieldBlur_.bind(this));
this.tracker.add(
- this.getChildElement('input.collate'),
+ assert(this.getChildElement('input.collate')),
'click',
this.onCollateCheckboxClick_.bind(this));
this.tracker.add(

Powered by Google App Engine
This is Rietveld 408576698