mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix warnings.
This commit is contained in:
parent
39a36a0098
commit
208c05f944
4 changed files with 3 additions and 5 deletions
|
@ -617,13 +617,13 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
|
|||
pipeline_id, event_type, button, point)) => {
|
||||
if let Some(pipeline) = self.pipelines.get(&pipeline_id) {
|
||||
pipeline.script_chan.send(ConstellationControlMsg::SendEvent(pipeline_id,
|
||||
CompositorEvent::MouseButtonEvent(event_type, button, point)));
|
||||
CompositorEvent::MouseButtonEvent(event_type, button, point))).unwrap();
|
||||
}
|
||||
}
|
||||
Request::Script(FromScriptMsg::ForwardMouseMoveEvent(pipeline_id, point)) => {
|
||||
if let Some(pipeline) = self.pipelines.get(&pipeline_id) {
|
||||
pipeline.script_chan.send(ConstellationControlMsg::SendEvent(pipeline_id,
|
||||
CompositorEvent::MouseMoveEvent(Some(point))));
|
||||
CompositorEvent::MouseMoveEvent(Some(point)))).unwrap();
|
||||
}
|
||||
}
|
||||
Request::Script(FromScriptMsg::GetClipboardContents(sender)) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue