diff options
author | Brandon Fairchild <csbit32@gmail.com> | 2016-01-12 13:30:33 -0500 |
---|---|---|
committer | Brandon Fairchild <csbit32@gmail.com> | 2016-01-12 13:30:33 -0500 |
commit | d1186eda7a3ec452c9afd93a96e60c9cd090c42b (patch) | |
tree | 681868b0fb552daed5ef0640894ac81600521360 /components/script/dom/window.rs | |
parent | e977a6e69a06ad69e87cc235b4ede60f8fb3eca3 (diff) | |
download | servo-d1186eda7a3ec452c9afd93a96e60c9cd090c42b.tar.gz servo-d1186eda7a3ec452c9afd93a96e60c9cd090c42b.zip |
Move DocumentState to script_traits
Fixes #9224.
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 382007a2dec..8ae52b9ccb0 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -43,7 +43,7 @@ use js::rust::Runtime; use layout_interface::{ContentBoxResponse, ContentBoxesResponse, ResolvedStyleResponse, ScriptReflow}; use layout_interface::{LayoutChan, LayoutRPC, Msg, Reflow, ReflowQueryType}; use libc; -use msg::constellation_msg::{ConstellationChan, DocumentState, LoadData}; +use msg::constellation_msg::{ConstellationChan, LoadData}; use msg::constellation_msg::{MozBrowserEvent, PipelineId, SubpageId, WindowSizeData}; use msg::webdriver_msg::{WebDriverJSError, WebDriverJSResult}; use net_traits::ResourceThread; @@ -58,7 +58,8 @@ use script_thread::{DOMManipulationThreadSource, UserInteractionThreadSource, Ne use script_thread::{HistoryTraversalThreadSource, FileReadingThreadSource, SendableMainThreadScriptChan}; use script_thread::{ScriptChan, ScriptPort, MainThreadScriptChan, MainThreadScriptMsg, RunnableWrapper}; use script_traits::ScriptMsg as ConstellationMsg; -use script_traits::{MsDuration, ScriptToCompositorMsg, TimerEvent, TimerEventId, TimerEventRequest, TimerSource}; +use script_traits::{DocumentState, MsDuration, ScriptToCompositorMsg, TimerEvent, TimerEventId}; +use script_traits::{TimerEventRequest, TimerSource}; use selectors::parser::PseudoElement; use std::ascii::AsciiExt; use std::borrow::ToOwned; |