aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source
diff options
context:
space:
mode:
authorRahul Sharma <rsconceptx@gmail.com>2016-04-01 18:32:05 +0530
committerRahul Sharma <rsconceptx@gmail.com>2016-04-06 12:46:49 +0530
commit2caa9a2a7618cbac49d85017af102a6658ea2596 (patch)
treee306d3e3a0fdef5aa79c936341268b891c2bd4e3 /components/script/task_source
parent0d0e08638da02922353fb165c4d4f3aff59c2ab0 (diff)
downloadservo-2caa9a2a7618cbac49d85017af102a6658ea2596.tar.gz
servo-2caa9a2a7618cbac49d85017af102a6658ea2596.zip
refactors entities from script_thread into script_runtime
Diffstat (limited to 'components/script/task_source')
-rw-r--r--components/script/task_source/file_reading.rs3
-rw-r--r--components/script/task_source/history_traversal.rs3
-rw-r--r--components/script/task_source/networking.rs3
-rw-r--r--components/script/task_source/user_interaction.rs3
4 files changed, 8 insertions, 4 deletions
diff --git a/components/script/task_source/file_reading.rs b/components/script/task_source/file_reading.rs
index 30e9530a76d..7eda4d73ff6 100644
--- a/components/script/task_source/file_reading.rs
+++ b/components/script/task_source/file_reading.rs
@@ -2,7 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-use script_thread::{CommonScriptMsg, MainThreadScriptMsg, ScriptChan};
+use script_runtime::{CommonScriptMsg, ScriptChan};
+use script_thread::MainThreadScriptMsg;
use std::sync::mpsc::Sender;
#[derive(JSTraceable)]
diff --git a/components/script/task_source/history_traversal.rs b/components/script/task_source/history_traversal.rs
index c2d276e6eec..e5887264cf6 100644
--- a/components/script/task_source/history_traversal.rs
+++ b/components/script/task_source/history_traversal.rs
@@ -2,7 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-use script_thread::{CommonScriptMsg, MainThreadScriptMsg, ScriptChan};
+use script_runtime::{ScriptChan, CommonScriptMsg};
+use script_thread::MainThreadScriptMsg;
use std::sync::mpsc::Sender;
#[derive(JSTraceable)]
diff --git a/components/script/task_source/networking.rs b/components/script/task_source/networking.rs
index 83160468395..4f85ac6c3e6 100644
--- a/components/script/task_source/networking.rs
+++ b/components/script/task_source/networking.rs
@@ -2,7 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-use script_thread::{CommonScriptMsg, MainThreadScriptMsg, ScriptChan};
+use script_runtime::{CommonScriptMsg, ScriptChan};
+use script_thread::MainThreadScriptMsg;
use std::sync::mpsc::Sender;
#[derive(JSTraceable)]
diff --git a/components/script/task_source/user_interaction.rs b/components/script/task_source/user_interaction.rs
index 254b0d008d1..8f79b8ddaed 100644
--- a/components/script/task_source/user_interaction.rs
+++ b/components/script/task_source/user_interaction.rs
@@ -2,7 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-use script_thread::{CommonScriptMsg, MainThreadScriptMsg, ScriptChan};
+use script_runtime::{CommonScriptMsg, ScriptChan};
+use script_thread::MainThreadScriptMsg;
use std::sync::mpsc::Sender;
#[derive(JSTraceable)]