aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/window.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-10-18 15:50:32 +0200
committerMs2ger <Ms2ger@gmail.com>2016-10-22 13:33:38 +0200
commit1a9673341780435dcd4495b893d1bdaee12f1c8f (patch)
tree90561bfaf2505afc7b4fa5ff0a519589c3dc3807 /components/script/dom/window.rs
parent9cbac40f618a5d87bd883e81a70e233e0ea3a87f (diff)
downloadservo-1a9673341780435dcd4495b893d1bdaee12f1c8f.tar.gz
servo-1a9673341780435dcd4495b893d1bdaee12f1c8f.zip
Move WindowSizeType to script_traits.
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r--components/script/dom/window.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs
index 4a28bc3cd9f..5afbf475cc9 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -49,7 +49,7 @@ use js::jsapi::{HandleObject, HandleValue, JSAutoCompartment, JSContext};
use js::jsapi::{JS_GC, JS_GetRuntime, SetWindowProxy};
use js::jsval::UndefinedValue;
use js::rust::Runtime;
-use msg::constellation_msg::{FrameType, PipelineId, ReferrerPolicy, WindowSizeType};
+use msg::constellation_msg::{FrameType, PipelineId, ReferrerPolicy};
use net_traits::ResourceThreads;
use net_traits::bluetooth_thread::BluetoothMethodMsg;
use net_traits::image_cache_thread::{ImageCacheChan, ImageCacheThread};
@@ -70,7 +70,7 @@ use script_thread::{MainThreadScriptChan, MainThreadScriptMsg, Runnable, Runnabl
use script_thread::SendableMainThreadScriptChan;
use script_traits::{ConstellationControlMsg, LoadData, MozBrowserEvent, UntrustedNodeAddress};
use script_traits::{DocumentState, TimerEvent, TimerEventId};
-use script_traits::{ScriptMsg as ConstellationMsg, TimerEventRequest, WindowSizeData};
+use script_traits::{ScriptMsg as ConstellationMsg, TimerEventRequest, WindowSizeData, WindowSizeType};
use script_traits::webdriver_msg::{WebDriverJSError, WebDriverJSResult};
use std::ascii::AsciiExt;
use std::borrow::ToOwned;