diff options
author | Pierre Chevalier <pierrechevalier83@gmail.com> | 2015-10-10 18:13:37 +0100 |
---|---|---|
committer | Pierre Chevalier <pierrechevalier83@gmail.com> | 2015-10-10 18:13:37 +0100 |
commit | a6a685e9540f9cbd1167288472cf6d9d89475337 (patch) | |
tree | fe274aba169d96898d23eededecc9def9df22f90 /components/script/dom/htmlselectelement.rs | |
parent | 9cccd98254191b1663dcaee9010eee63fa8074a3 (diff) | |
download | servo-a6a685e9540f9cbd1167288472cf6d9d89475337.tar.gz servo-a6a685e9540f9cbd1167288472cf6d9d89475337.zip |
Clarify some code in do_create_interface_objects
rval.get() is believed to be always null upon entering this function.
This assumption is verified by the added assertion.
It makes more sense to move the block of code that was moved inside
the if statement which is the only place where it can be initialized.
Fixes #7941.
Diffstat (limited to 'components/script/dom/htmlselectelement.rs')
0 files changed, 0 insertions, 0 deletions