aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorAdrian Utrilla <adrianutrilla@gmail.com>2016-04-04 11:03:30 +0200
committerAdrian Utrilla <adrianutrilla@gmail.com>2016-04-04 11:33:37 +0200
commitbc1b8ef4c6d672de5d6c12a8a82286112208e900 (patch)
tree293593644030edb96ef35e106821a572a5d8a994 /components/script/script_thread.rs
parent88d29e537cb3e92cc39804eabca7cb347c1417e9 (diff)
downloadservo-bc1b8ef4c6d672de5d6c12a8a82286112208e900.tar.gz
servo-bc1b8ef4c6d672de5d6c12a8a82286112208e900.zip
Inlined content_changed
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index b24af89193e..cfce8de2768 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -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);