diff options
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 8 |
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)] |