mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Fix some warnings in the CEF port.
This commit is contained in:
parent
445f1c891a
commit
b45cf4ccf8
5 changed files with 10 additions and 11 deletions
|
@ -18,9 +18,9 @@ use libc::c_int;
|
|||
use util::opts;
|
||||
use std::borrow::ToOwned;
|
||||
use std::cell::{Cell, RefCell, BorrowState};
|
||||
use std::sync::atomic::{AtomicInt, Ordering};
|
||||
use std::sync::atomic::{AtomicIsize, Ordering};
|
||||
|
||||
thread_local!(pub static ID_COUNTER: AtomicInt = AtomicInt::new(0));
|
||||
thread_local!(pub static ID_COUNTER: AtomicIsize = AtomicIsize::new(0));
|
||||
thread_local!(pub static BROWSERS: RefCell<Vec<CefBrowser>> = RefCell::new(vec!()));
|
||||
|
||||
pub enum ServoBrowser {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue