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

Issue 2857983007: Print Preview: Make getChildElement return required HTMLElement (Closed)

Created:
3 years, 7 months ago by rbpotter
Modified:
3 years, 7 months ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Print 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

Messages

Total messages: 17 (11 generated)
rbpotter
Followup CL to address getChildElement as requested in https://codereview.chromium.org/2861713004/
3 years, 7 months ago (2017-05-04 22:46:48 UTC) #7
dpapad
LGTM with nits. https://codereview.chromium.org/2857983007/diff/1/chrome/browser/resources/print_preview/settings/color_settings.js File chrome/browser/resources/print_preview/settings/color_settings.js (right): https://codereview.chromium.org/2857983007/diff/1/chrome/browser/resources/print_preview/settings/color_settings.js#newcode72 chrome/browser/resources/print_preview/settings/color_settings.js:72: return /** @type {!HTMLSelectElement} */( You ...
3 years, 7 months ago (2017-05-04 23:59:49 UTC) #10
rbpotter
https://codereview.chromium.org/2857983007/diff/1/chrome/browser/resources/print_preview/settings/color_settings.js File chrome/browser/resources/print_preview/settings/color_settings.js (right): https://codereview.chromium.org/2857983007/diff/1/chrome/browser/resources/print_preview/settings/color_settings.js#newcode72 chrome/browser/resources/print_preview/settings/color_settings.js:72: return /** @type {!HTMLSelectElement} */( On 2017/05/04 23:59:49, dpapad ...
3 years, 7 months ago (2017-05-05 00:47:56 UTC) #11
dpapad
https://codereview.chromium.org/2857983007/diff/1/chrome/browser/resources/print_preview/settings/color_settings.js File chrome/browser/resources/print_preview/settings/color_settings.js (right): https://codereview.chromium.org/2857983007/diff/1/chrome/browser/resources/print_preview/settings/color_settings.js#newcode72 chrome/browser/resources/print_preview/settings/color_settings.js:72: return /** @type {!HTMLSelectElement} */( On 2017/05/05 at 00:47:56, ...
3 years, 7 months ago (2017-05-05 01:05:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2857983007/1
3 years, 7 months ago (2017-05-05 01:16:18 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 01:22:51 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/04bee6a1d135e6665c04d1e748cf...

Powered by Google App Engine
This is Rietveld 408576698