Stop using deprecated boxed::into_raw in cef.

This commit is contained in:
Ms2ger 2015-06-26 23:00:07 +02:00
parent 995985b985
commit f8ae884ab5
4 changed files with 5 additions and 9 deletions

View file

@ -4,7 +4,6 @@
use eutil::slice_to_str;
use libc::c_int;
use std::boxed;
use std::collections::BTreeMap;
use string::{cef_string_userfree_utf16_alloc, cef_string_userfree_utf16_free};
use string::{cef_string_utf16_set};
@ -14,7 +13,7 @@ use types::{cef_string_multimap_t,cef_string_t};
#[no_mangle]
pub extern "C" fn cef_string_multimap_alloc() -> *mut cef_string_multimap_t {
boxed::into_raw(box BTreeMap::new())
Box::into_raw(box BTreeMap::new())
}
#[no_mangle]