aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-04-29 14:01:46 +0200
committerMs2ger <Ms2ger@gmail.com>2016-04-29 14:55:50 +0200
commit57b662534f8372569939149d3f0c9a0d1031747a (patch)
tree7983f199def2b593e51aa919350427238e86ac92 /components/script/script_thread.rs
parent703d018f23c8b09e0e1a049613ae4132860c72fd (diff)
downloadservo-57b662534f8372569939149d3f0c9a0d1031747a.tar.gz
servo-57b662534f8372569939149d3f0c9a0d1031747a.zip
Remove unused MainThreadScriptChan::new() method.
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index a557238e99c..c38f774c651 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -297,14 +297,6 @@ impl ScriptChan for MainThreadScriptChan {
}
}
-impl MainThreadScriptChan {
- /// Creates a new script chan.
- pub fn new() -> (Receiver<MainThreadScriptMsg>, Box<MainThreadScriptChan>) {
- let (chan, port) = channel();
- (port, box MainThreadScriptChan(chan))
- }
-}
-
/// Information for an entire page. Pages are top-level browsing contexts and can contain multiple
/// frames.
#[derive(JSTraceable)]