From 19294db6e5ffc9e85b4b628ef8dc6c72636c70a7 Mon Sep 17 00:00:00 2001 From: Keith Yeung Date: Sat, 14 Nov 2015 16:01:34 -0800 Subject: Split ConstellationMsg into ScriptMsg and CompositorMsg --- components/script/script_task.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/script/script_task.rs') diff --git a/components/script/script_task.rs b/components/script/script_task.rs index d2fc0a93917..5a12d9e004f 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -62,7 +62,7 @@ use layout_interface::{self, LayoutChan, NewLayoutTaskInfo, ReflowGoal, ScriptLa use libc; use mem::heap_size_of_self_and_children; use msg::compositor_msg::{EventResult, LayerId, ScriptToCompositorMsg}; -use msg::constellation_msg::Msg as ConstellationMsg; +use msg::constellation_msg::ScriptMsg as ConstellationMsg; use msg::constellation_msg::{ConstellationChan, FocusType, LoadData}; use msg::constellation_msg::{MozBrowserEvent, PipelineId}; use msg::constellation_msg::{PipelineNamespace}; @@ -403,7 +403,7 @@ pub struct ScriptTask { control_port: Receiver, /// For communicating load url messages to the constellation - constellation_chan: ConstellationChan, + constellation_chan: ConstellationChan, /// A handle to the compositor for communicating ready state messages. compositor: DOMRefCell>, -- cgit v1.2.3