Fix a few warnings in cef build

This commit is contained in:
Glenn Watson 2015-05-15 13:48:03 +10:00
parent a97f81b83d
commit 676c59cc18
3 changed files with 1 additions and 3 deletions

View file

@ -16,7 +16,6 @@ use wrappers::CefWrap;
use compositing::windowing::{WindowNavigateMsg, WindowEvent};
use glutin_app;
use libc::c_int;
use std::borrow::ToOwned;
use std::cell::{Cell, RefCell, BorrowState};
use std::ptr;
use std::sync::atomic::{AtomicIsize, Ordering};

View file

@ -8,11 +8,9 @@ use types::{cef_main_args_t, cef_settings_t};
use libc::{c_char, c_int, c_void};
use util::opts;
use std::borrow::ToOwned;
use std::ffi;
use std::str;
use browser;
use std_url::Url;
const MAX_RENDERING_THREADS: usize = 128;

View file

@ -36,6 +36,7 @@ extern crate x11;
use self::x11::xlib::XOpenDisplay;
/// The type of an off-screen window.
#[allow(raw_pointer_derive)]
#[derive(Clone)]
pub struct Window {
cef_browser: RefCell<Option<CefBrowser>>,