mirror of
https://github.com/servo/servo.git
synced 2025-08-30 17:48:20 +01:00
Fix warnings in cef.
This commit is contained in:
parent
efbbe22630
commit
7f47b8b8e2
6 changed files with 39 additions and 29 deletions
|
@ -31,9 +31,6 @@ use std::ffi::CString;
|
|||
use std::rc::Rc;
|
||||
use std::sync::mpsc::{Sender, channel};
|
||||
|
||||
#[cfg(target_os="macos")]
|
||||
use std::ptr;
|
||||
|
||||
/// The type of an off-screen window.
|
||||
#[derive(Clone)]
|
||||
pub struct Window {
|
||||
|
@ -355,7 +352,7 @@ impl CompositorProxy for CefCompositorProxy {
|
|||
#[cfg(target_os="linux")]
|
||||
fn send(&mut self, msg: compositor_task::Msg) {
|
||||
// FIXME(pcwalton): Kick the GTK event loop awake?
|
||||
self.sender.send(msg);
|
||||
self.sender.send(msg).unwrap();
|
||||
}
|
||||
|
||||
fn clone_compositor_proxy(&self) -> Box<CompositorProxy+Send> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue