Index: chrome/browser/resources/print_preview/previewarea/margin_control.js |
diff --git a/chrome/browser/resources/print_preview/previewarea/margin_control.js b/chrome/browser/resources/print_preview/previewarea/margin_control.js |
index 07d2dcc6ad8f75d7a99a814c7cfd5e231d8906a1..f324dc99c53a8a46128ece5d9fadf8cc311bc8b3 100644 |
--- a/chrome/browser/resources/print_preview/previewarea/margin_control.js |
+++ b/chrome/browser/resources/print_preview/previewarea/margin_control.js |
@@ -99,7 +99,7 @@ cr.define('print_preview', function() { |
* @private |
*/ |
this.isInError_ = false; |
- }; |
+ } |
/** |
* Event types dispatched by the margin control. |
@@ -327,6 +327,7 @@ cr.define('print_preview', function() { |
this.getElement(), |
'transitionend', |
this.onTransitionEnd_.bind(this)); |
+ assert(this.textbox_); |
this.tracker.add( |
this.textbox_, 'input', this.onTextboxInput_.bind(this)); |
this.tracker.add( |