mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Remove an obsolete reflow
This commit is contained in:
parent
a60bbc81b8
commit
d29726971a
1 changed files with 0 additions and 8 deletions
|
@ -1569,14 +1569,6 @@ impl Document {
|
||||||
*self.pending_parsing_blocking_script.borrow_mut() = None;
|
*self.pending_parsing_blocking_script.borrow_mut() = None;
|
||||||
parser.resume_with_pending_parsing_blocking_script(&element, result);
|
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() {
|
if !self.loader.borrow().is_blocked() && !self.loader.borrow().events_inhibited() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue