Use features to prevent the util component from entraining the world in GeckoLib builds.

This commit is contained in:
Bobby Holley 2016-01-11 19:17:33 -08:00
parent 384cdfcfff
commit dec296ddbc
11 changed files with 204 additions and 860 deletions

View file

@ -55,8 +55,8 @@ use js::rust::ToString;
use libc;
use num::Float;
use std::{ptr, mem, slice};
pub use util::non_geckolib::{StringificationBehavior, jsstring_to_str};
use util::str::DOMString;
pub use util::str::{StringificationBehavior, jsstring_to_str};
/// A trait to check whether a given `JSObject` implements an IDL interface.
pub trait IDLInterface {

View file

@ -50,7 +50,7 @@ use std::default::Default;
use std::ffi::CString;
use std::ptr;
use util::mem::HeapSizeOf;
use util::str::jsstring_to_str;
use util::non_geckolib::jsstring_to_str;
/// Proxy handler for a WindowProxy.
pub struct WindowProxyHandler(pub *const libc::c_void);