mirror of
https://github.com/servo/servo.git
synced 2025-06-11 01:50:10 +00:00
auto merge of #4444 : Ms2ger/servo/load-simplify, r=jdm
This commit is contained in:
commit
b9edc2243a
1 changed files with 2 additions and 5 deletions
|
@ -828,11 +828,8 @@ impl ScriptTask {
|
|||
|
||||
// Kick off the initial reflow of the page.
|
||||
debug!("kicking off initial reflow of {}", final_url);
|
||||
{
|
||||
let document_js_ref = (&*document).clone();
|
||||
let document_as_node = NodeCast::from_ref(document_js_ref);
|
||||
document.content_changed(document_as_node, NodeDamage::OtherNodeDamage);
|
||||
}
|
||||
document.content_changed(NodeCast::from_ref(*document),
|
||||
NodeDamage::OtherNodeDamage);
|
||||
window.flush_layout(ReflowGoal::ForDisplay, ReflowQueryType::NoQuery);
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue