DescriptionPrint Preview: Make getChildElement return required HTMLElement
In most locations callers assumed the function returned !HTMLElement
already. Changed the one location (in advanced_settings.js line 177)
that did not assume this to not call the function, and changed
getChildElement to return !HTMLElement.
Also removed some asserts that are no longer necessary.
This CL reduces print preview closure compiler errors to 180.
BUG=717620
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2857983007
Cr-Commit-Position: refs/heads/master@{#469564}
Committed: https://chromium.googlesource.com/chromium/src/+/04bee6a1d135e6665c04d1e748cf7baeb6769788
Patch Set 1 #
Total comments: 4
Dependent Patchsets: Messages
Total messages: 17 (11 generated)
|