Index: chrome/browser/resources/print_preview/settings/destination_settings.js |
diff --git a/chrome/browser/resources/print_preview/settings/destination_settings.js b/chrome/browser/resources/print_preview/settings/destination_settings.js |
index d2a60d5be1ed2a0eabf27329676b58e3131c69b9..ff613d027f469571e907880041052c736c184353 100644 |
--- a/chrome/browser/resources/print_preview/settings/destination_settings.js |
+++ b/chrome/browser/resources/print_preview/settings/destination_settings.js |
@@ -32,7 +32,7 @@ cr.define('print_preview', function() { |
* @private |
*/ |
this.iconClass_ = null; |
- }; |
+ } |
/** |
* Event types dispatched by the component. |
@@ -150,9 +150,9 @@ cr.define('print_preview', function() { |
} |
setIsVisible( |
- this.getChildElement('.throbber-container'), |
+ assert(this.getChildElement('.throbber-container')), |
this.destinationStore_.isAutoSelectDestinationInProgress); |
- setIsVisible(destinationSettingsBoxEl, !!destination); |
+ setIsVisible(assert(destinationSettingsBoxEl), !!destination); |
}, |
onSelectedDestinationNameSet_: function() { |