Remove an obsolete reflow

This commit is contained in:
Anthony Ramine 2017-01-15 16:32:48 +01:00
parent a60bbc81b8
commit d29726971a

View file

@ -1569,14 +1569,6 @@ impl Document {
*self.pending_parsing_blocking_script.borrow_mut() = None;
parser.resume_with_pending_parsing_blocking_script(&element, result);
}
} else if self.reflow_timeout.get().is_none() {
// If we don't have a parser, and the reflow timer has been reset, explicitly
// trigger a reflow.
if let LoadType::Stylesheet(_) = load {
self.window.reflow(ReflowGoal::ForDisplay,
ReflowQueryType::NoQuery,
ReflowReason::StylesheetLoaded);
}
}
if !self.loader.borrow().is_blocked() && !self.loader.borrow().events_inhibited() {