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

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

Issue 2857983007: Print Preview: Make getChildElement return required HTMLElement (Closed)
Patch Set: Created 3 years, 7 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 ff613d027f469571e907880041052c736c184353..d4f065dba84d26b2a67443aabc115bf948fb2adc 100644
--- a/chrome/browser/resources/print_preview/settings/destination_settings.js
+++ b/chrome/browser/resources/print_preview/settings/destination_settings.js
@@ -150,9 +150,9 @@ cr.define('print_preview', function() {
}
setIsVisible(
- assert(this.getChildElement('.throbber-container')),
+ this.getChildElement('.throbber-container'),
this.destinationStore_.isAutoSelectDestinationInProgress);
- setIsVisible(assert(destinationSettingsBoxEl), !!destination);
+ setIsVisible(destinationSettingsBoxEl, !!destination);
},
onSelectedDestinationNameSet_: function() {

Powered by Google App Engine
This is Rietveld 408576698