mirror of
https://github.com/servo/servo.git
synced 2025-06-09 09:03:23 +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.
|
||||
#[derive(JSTraceable)]
|
||||
pub struct MainThreadScriptChan(pub Sender<MainThreadScriptMsg>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue