Due to changes on Page/Window interfaces, we no longer have use

for flush_layout().
This commit is contained in:
Adenilson Cavalcanti 2015-03-04 11:39:29 -08:00
parent 761f7f056c
commit a31d3d7f70
3 changed files with 6 additions and 11 deletions

View file

@ -1007,7 +1007,7 @@ impl ScriptTask {
debug!("kicking off initial reflow of {:?}", final_url);
document.r().content_changed(NodeCast::from_ref(document.r()),
NodeDamage::OtherNodeDamage);
window.r().flush_layout(ReflowGoal::ForDisplay, ReflowQueryType::NoQuery);
window.r().reflow(ReflowGoal::ForDisplay, ReflowQueryType::NoQuery);
// No more reflow required
page.set_reflow_status(false);