aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
authorClark Gaebel <cgaebel@mozilla.com>2014-10-15 16:27:40 -0700
committerClark Gaebel <cgaebel@mozilla.com>2014-10-17 11:11:14 -0700
commit2faf5b270fac715ee8b84c85c8d6ed493303865f (patch)
tree9a06d4c7a593da5f94ce865fd6d09c7e0df9e3d8 /components/layout/layout_task.rs
parenta1efb79cf43470271ea177d61426941c7f57caf1 (diff)
downloadservo-2faf5b270fac715ee8b84c85c8d6ed493303865f.tar.gz
servo-2faf5b270fac715ee8b84c85c8d6ed493303865f.zip
Fix image_dynamic_remove reftest with incremental layout turned out
This also adds some extra debugging infrastructure which I found useful tracking this bug down. A regression in the br reftests is also uncovered by this patch, which I'll work on fixing next. r? @pcwalton
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r--components/layout/layout_task.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index c36ad0433f6..31c3b99094e 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -159,6 +159,7 @@ impl ImageResponder<UntrustedNodeAddress> for LayoutImageResponder {
let f: proc(ImageResponseMsg, UntrustedNodeAddress):Send =
proc(_, node_address) {
let ScriptControlChan(chan) = script_chan;
+ debug!("Dirtying {:x}", node_address as uint);
let mut nodes = SmallVec1::new();
nodes.vec_push(node_address);
drop(chan.send_opt(SendEventMsg(id.clone(), ReflowEvent(nodes))))