diff --git a/components/script/script_task.rs b/components/script/script_task.rs index 42e157fced0..af1611f0787 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -50,8 +50,8 @@ use script_traits::ConstellationControlMsg::GetTitleMsg; use script_traits::{NewLayoutInfo, OpaqueScriptLayoutChannel}; use script_traits::{ConstellationControlMsg, ScriptControlChan}; use script_traits::ScriptTaskFactory; -use servo_msg::compositor_msg::{FinishedLoading, LayerId, Loading, PerformingLayout}; -use servo_msg::compositor_msg::{ScriptListener}; +use servo_msg::compositor_msg::ReadyState::{FinishedLoading, Loading, PerformingLayout}; +use servo_msg::compositor_msg::{LayerId, ScriptListener}; use servo_msg::constellation_msg::{ConstellationChan}; use servo_msg::constellation_msg::{LoadData, NavigationDirection, PipelineId}; use servo_msg::constellation_msg::{Failure, Msg, WindowSizeData, Key, KeyState};