diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-10-19 09:37:03 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-10-19 09:37:03 -0600 |
commit | 6111cf9ffcb4427ab9a0966b9a4d0387b3101e7b (patch) | |
tree | 186df35bce935399c55ccd9c5624927c542e3156 /components/script/dom/htmlmediaelement.rs | |
parent | 2e308e9eccb6c6d31906660bdfcf1a304f85dd56 (diff) | |
parent | a6a685e9540f9cbd1167288472cf6d9d89475337 (diff) | |
download | servo-6111cf9ffcb4427ab9a0966b9a4d0387b3101e7b.tar.gz servo-6111cf9ffcb4427ab9a0966b9a4d0387b3101e7b.zip |
Auto merge of #7943 - pierrechevalier83:fix_issue_7941, r=Ms2ger
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.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7943)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlmediaelement.rs')
0 files changed, 0 insertions, 0 deletions