diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index abe693696fd..e86668c9ae2 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -917,9 +917,7 @@ impl Window { }, document: self.Document().r().upcast::().to_trusted_node_address(), window_size: window_size, - script_chan: self.control_chan.clone(), script_join_chan: join_chan, - id: last_reflow_id.get(), query_type: query_type, }; diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs index 5c41a04363c..6dab946f6fb 100644 --- a/components/script/layout_interface.rs +++ b/components/script/layout_interface.rs @@ -175,14 +175,10 @@ pub struct ScriptReflow { pub reflow_info: Reflow, /// The document node. pub document: TrustedNodeAddress, - /// The channel through which messages can be sent back to the script task. - pub script_chan: Sender, /// The current window size. pub window_size: WindowSizeData, /// The channel that we send a notification to. pub script_join_chan: Sender<()>, - /// Unique identifier - pub id: u32, /// The type of query if any to perform during this reflow. pub query_type: ReflowQueryType, }