aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorrohan.prinja <rohan.prinja@samsung.com>2015-11-14 05:07:55 +0900
committerRohan Prinja <rohan.prinja@gmail.com>2016-01-10 17:58:13 +0900
commit1f02c4ebbb7d5ea49051f4391f1418f20c15d7a9 (patch)
tree7d61e58e746ddca93074ca6bca6849360a098b8c /components/script/lib.rs
parentf00532bab0382d1c24e6086314f26497fb6ffe0f (diff)
downloadservo-1f02c4ebbb7d5ea49051f4391f1418f20c15d7a9.tar.gz
servo-1f02c4ebbb7d5ea49051f4391f1418f20c15d7a9.zip
task -> thread
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 71afdb02df4..24483d3182f 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -92,7 +92,7 @@ pub mod page;
pub mod parse;
pub mod reporter;
#[allow(unsafe_code)]
-pub mod script_task;
+pub mod script_thread;
pub mod textinput;
mod timers;
mod unpremultiplytable;
@@ -147,7 +147,7 @@ fn perform_platform_specific_initialization() {}
pub fn init() {
unsafe {
assert_eq!(js::jsapi::JS_Init(), true);
- SetDOMProxyInformation(ptr::null(), 0, Some(script_task::shadow_check_callback));
+ SetDOMProxyInformation(ptr::null(), 0, Some(script_thread::shadow_check_callback));
}
// Create the global vtables used by the (generated) DOM