Fix warnings in cef.

This commit is contained in:
Ms2ger 2015-02-13 14:57:11 +01:00
parent efbbe22630
commit 7f47b8b8e2
6 changed files with 39 additions and 29 deletions

View file

@ -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> {