mirror of
https://github.com/servo/servo.git
synced 2025-06-10 01:23:13 +00:00
Remove unused SendableMainThreadScriptChan::new() method.
This commit is contained in:
parent
57b662534f
commit
5d2c7935d9
1 changed files with 0 additions and 8 deletions
|
@ -275,14 +275,6 @@ impl ScriptChan for SendableMainThreadScriptChan {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SendableMainThreadScriptChan {
|
|
||||||
/// Creates a new script chan.
|
|
||||||
pub fn new() -> (Receiver<CommonScriptMsg>, Box<SendableMainThreadScriptChan>) {
|
|
||||||
let (chan, port) = channel();
|
|
||||||
(port, box SendableMainThreadScriptChan(chan))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Encapsulates internal communication of main thread messages within the script thread.
|
/// Encapsulates internal communication of main thread messages within the script thread.
|
||||||
#[derive(JSTraceable)]
|
#[derive(JSTraceable)]
|
||||||
pub struct MainThreadScriptChan(pub Sender<MainThreadScriptMsg>);
|
pub struct MainThreadScriptChan(pub Sender<MainThreadScriptMsg>);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue