mirror of
https://github.com/servo/servo
synced 2026-05-14 19:06:31 +02:00
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 -->