diff options
Diffstat (limited to 'components/compositing/pipeline.rs')
-rw-r--r-- | components/compositing/pipeline.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/compositing/pipeline.rs b/components/compositing/pipeline.rs index 3b3a5d0a4f6..3c96524b18b 100644 --- a/components/compositing/pipeline.rs +++ b/components/compositing/pipeline.rs @@ -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(); } } |