mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Uniformise the various Msg types [#5882]
This commit is contained in:
parent
5b0c6c9d31
commit
b980278d90
9 changed files with 37 additions and 37 deletions
|
@ -239,7 +239,7 @@ impl Pipeline {
|
|||
let _ = self.paint_chan.send(PaintMsg::Exit(None, PipelineExitType::PipelineOnly));
|
||||
let LayoutControlChan(ref layout_channel) = self.layout_chan;
|
||||
let _ = layout_channel.send(
|
||||
LayoutControlMsg::ExitNowMsg(PipelineExitType::PipelineOnly)).unwrap();
|
||||
LayoutControlMsg::ExitNow(PipelineExitType::PipelineOnly)).unwrap();
|
||||
}
|
||||
|
||||
pub fn to_sendable(&self) -> CompositionPipeline {
|
||||
|
@ -260,9 +260,9 @@ impl Pipeline {
|
|||
assert!(opts::experimental_enabled());
|
||||
|
||||
let ScriptControlChan(ref script_channel) = self.script_chan;
|
||||
let event = ConstellationControlMsg::MozBrowserEventMsg(self.id,
|
||||
subpage_id,
|
||||
event);
|
||||
let event = ConstellationControlMsg::MozBrowserEvent(self.id,
|
||||
subpage_id,
|
||||
event);
|
||||
script_channel.send(event).unwrap();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue