script: Address review comments

This commit is contained in:
Patrick Walton 2015-05-26 11:03:47 -07:00
parent 9e34e82aec
commit 05bf2ffd02
3 changed files with 7 additions and 5 deletions

View file

@ -303,10 +303,8 @@ impl<'a> PrivateServoHTMLParserHelpers for JSRef<'a, ServoHTMLParser> {
break;
}
{
let document = self.document.root();
document.r().reflow_if_reflow_timer_expired();
}
let document = self.document.root();
document.r().reflow_if_reflow_timer_expired();
let mut pending_input = self.pending_input.borrow_mut();
if !pending_input.is_empty() {