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

Unified Diff: chrome/browser/resources/print_preview/settings/destination_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/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() {

Powered by Google App Engine
This is Rietveld 408576698