aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-04-02 14:56:05 +0200
committerMs2ger <ms2ger@gmail.com>2015-04-02 14:56:05 +0200
commit37b5e78a2cf0526ef658dbd60ccb653306422f54 (patch)
tree8eef01f6680cf7f2644c94f5c1488ca88db84f4a /components/layout/layout_task.rs
parent31c6a3977f681063b30d426cfdb382187bc8a2f9 (diff)
downloadservo-37b5e78a2cf0526ef658dbd60ccb653306422f54.tar.gz
servo-37b5e78a2cf0526ef658dbd60ccb653306422f54.zip
Avoid a cast in LayoutImageResponder.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r--components/layout/layout_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index 0f29cc91902..3683ec1a1aa 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -192,7 +192,7 @@ impl ImageResponder<UntrustedNodeAddress> for LayoutImageResponder {
let script_chan = self.script_chan.clone();
box move |_, node_address| {
let ScriptControlChan(ref chan) = script_chan;
- debug!("Dirtying {:x}", node_address.0 as usize);
+ debug!("Dirtying {:p}", node_address.0);
let mut nodes = SmallVec1::new();
nodes.vec_push(node_address);
drop(chan.send(ConstellationControlMsg::SendEvent(