diff options
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 8f39a0bfe9b..2680494290d 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -21,6 +21,7 @@ use base64::Engine; #[cfg(feature = "bluetooth")] use bluetooth_traits::BluetoothRequest; use canvas_traits::webgl::WebGLChan; +use constellation_traits::{ScrollState, WindowSizeData, WindowSizeType}; use crossbeam_channel::{Sender, unbounded}; use cssparser::{Parser, ParserInput, SourceLocation}; use devtools_traits::{ScriptToDevtoolsControlMsg, TimelineMarker, TimelineMarkerType}; @@ -61,7 +62,7 @@ use script_layout_interface::{ }; use script_traits::{ DocumentState, LoadData, LoadOrigin, NavigationHistoryBehavior, ScriptMsg, ScriptThreadMessage, - ScriptToConstellationChan, StructuredSerializedData, WindowSizeData, WindowSizeType, + ScriptToConstellationChan, StructuredSerializedData, }; use selectors::attr::CaseSensitivity; use servo_arc::Arc as ServoArc; @@ -83,7 +84,7 @@ use stylo_atoms::Atom; use url::Position; use webrender_api::units::{DevicePixel, LayoutPixel}; use webrender_api::{DocumentId, ExternalScrollId}; -use webrender_traits::{CrossProcessCompositorApi, ScrollState}; +use webrender_traits::CrossProcessCompositorApi; use super::bindings::codegen::Bindings::MessagePortBinding::StructuredSerializeOptions; use super::bindings::trace::HashMapTracedValues; |