mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
compositor: Remove the script channel from the compositor (#36089)
This is a clean up after #36062 and #35985. It removes the script channel for each pipeline from the compositor. Now all messages are sent via the `Constellation` first, which will allow breaking the dependency on script in the compositor. In addition, scroll states are actually sent via the `Constellation`, which was an oversight from #36062. Finally, a typo in a method name is fixed. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
5ed2eb62ec
commit
3c51df0f1b
5 changed files with 12 additions and 19 deletions
|
@ -38,9 +38,4 @@ impl EventLoop {
|
|||
pub fn send(&self, msg: ScriptThreadMessage) -> Result<(), Error> {
|
||||
self.script_chan.send(msg)
|
||||
}
|
||||
|
||||
/// The underlying channel to the script thread.
|
||||
pub fn sender(&self) -> IpcSender<ScriptThreadMessage> {
|
||||
self.script_chan.clone()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue