diff options
Diffstat (limited to 'components/layout_traits/lib.rs')
-rw-r--r-- | components/layout_traits/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout_traits/lib.rs b/components/layout_traits/lib.rs index aeeae1bdb26..a38fbc8e1f4 100644 --- a/components/layout_traits/lib.rs +++ b/components/layout_traits/lib.rs @@ -10,7 +10,7 @@ extern crate msg; extern crate net_traits; extern crate profile_traits; extern crate script_traits; -extern crate url; +extern crate servo_url; extern crate webrender_traits; // This module contains traits in layout used generically @@ -25,15 +25,15 @@ use net_traits::image_cache_thread::ImageCacheThread; use profile_traits::{mem, time}; use script_traits::{ConstellationControlMsg, LayoutControlMsg}; use script_traits::LayoutMsg as ConstellationMsg; +use servo_url::ServoUrl; use std::sync::mpsc::{Receiver, Sender}; -use url::Url; // A static method creating a layout thread // Here to remove the compositor -> layout dependency pub trait LayoutThreadFactory { type Message; fn create(id: PipelineId, - url: Url, + url: ServoUrl, is_iframe: bool, chan: (Sender<Self::Message>, Receiver<Self::Message>), pipeline_port: IpcReceiver<LayoutControlMsg>, |