aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlselectelement.rs
diff options
context:
space:
mode:
authorPierre Chevalier <pierrechevalier83@gmail.com>2015-10-10 18:13:37 +0100
committerPierre Chevalier <pierrechevalier83@gmail.com>2015-10-10 18:13:37 +0100
commita6a685e9540f9cbd1167288472cf6d9d89475337 (patch)
treefe274aba169d96898d23eededecc9def9df22f90 /components/script/dom/htmlselectelement.rs
parent9cccd98254191b1663dcaee9010eee63fa8074a3 (diff)
downloadservo-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