mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Inlined content_changed
This commit is contained in:
parent
88d29e537c
commit
bc1b8ef4c6
6 changed files with 13 additions and 22 deletions
|
@ -2117,8 +2117,7 @@ impl ScriptThread {
|
|||
// Kick off the initial reflow of the page.
|
||||
debug!("kicking off initial reflow of {:?}", final_url);
|
||||
document.disarm_reflow_timeout();
|
||||
document.content_changed(document.upcast(),
|
||||
NodeDamage::OtherNodeDamage);
|
||||
document.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage);
|
||||
let window = window_from_node(document.r());
|
||||
window.reflow(ReflowGoal::ForDisplay, ReflowQueryType::NoQuery, ReflowReason::FirstLoad);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue