Auto merge of #6059 - glennw:warnings-police, r=pcwalton

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6059)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-05-14 22:53:17 -05:00
commit 09f5648153
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>>,