servo: Merge #6059 - Fix a few warnings in cef build (from glennw:warnings-police); r=pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 09f5648153d9817aa4c89153030f69bf45ee7283
This commit is contained in:
Glenn Watson 2015-05-14 22:53:17 -05:00
Родитель ee17e1171b
Коммит f5e0393a8a
3 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -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};

Просмотреть файл

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

Просмотреть файл

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