aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
diff options
context:
space:
mode:
authorJack Moffitt <jack@metajack.im>2014-08-04 23:02:30 -0600
committerJack Moffitt <jack@metajack.im>2014-08-08 19:11:53 -0600
commit7a4321d649c5ccd99db379533d9b0e82eca57a1a (patch)
tree2980dad5f5f0360b543acf72d5555236abf29ead /src/components/script/script_task.rs
parent62c9a779a956b8c53cab824b1a3c569dd983fadb (diff)
downloadservo-7a4321d649c5ccd99db379533d9b0e82eca57a1a.tar.gz
servo-7a4321d649c5ccd99db379533d9b0e82eca57a1a.zip
Upgrade Rust.
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r--src/components/script/script_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs
index d431bc368bf..2f7df8d6ddd 100644
--- a/src/components/script/script_task.rs
+++ b/src/components/script/script_task.rs
@@ -452,7 +452,7 @@ impl ScriptTask {
let new_page = {
let window_size = parent_page.window_size.deref().get();
Page::new(new_pipeline_id, Some(subpage_id),
- LayoutChan(layout_chan.as_ref::<Sender<layout_interface::Msg>>().unwrap().clone()),
+ LayoutChan(layout_chan.downcast_ref::<Sender<layout_interface::Msg>>().unwrap().clone()),
window_size,
parent_page.resource_task.deref().clone(),
self.constellation_chan.clone(),