diff options
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index d5efa73af0f..2960fb7ea74 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -21,12 +21,11 @@ extern crate serialize; use devtools_traits::DevtoolsControlChan; use servo_msg::constellation_msg::{ConstellationChan, PipelineId, Failure, WindowSizeData}; -use servo_msg::constellation_msg::SubpageId; +use servo_msg::constellation_msg::{LoadData, SubpageId}; use servo_msg::compositor_msg::ScriptListener; use servo_net::image_cache_task::ImageCacheTask; use servo_net::resource_task::ResourceTask; use std::any::Any; -use url::Url; use geom::point::Point2D; @@ -42,7 +41,7 @@ pub struct NewLayoutInfo { /// Messages sent from the constellation to the script task pub enum ConstellationControlMsg { /// Loads a new URL on the specified pipeline. - LoadMsg(PipelineId, Url), + LoadMsg(PipelineId, LoadData), /// Gives a channel and ID to a layout task, as well as the ID of that layout's parent AttachLayoutMsg(NewLayoutInfo), /// Window resized. Sends a DOM event eventually, but first we combine events. |