mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove unused MainThreadScriptChan::new() method.
This commit is contained in:
parent
703d018f23
commit
57b662534f
1 changed files with 0 additions and 8 deletions
|
@ -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
|
/// Information for an entire page. Pages are top-level browsing contexts and can contain multiple
|
||||||
/// frames.
|
/// frames.
|
||||||
#[derive(JSTraceable)]
|
#[derive(JSTraceable)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue