mirror of
https://github.com/servo/servo.git
synced 2025-06-09 09:03:23 +00:00
Use features to prevent the util component from entraining the world in GeckoLib builds.
This commit is contained in:
parent
384cdfcfff
commit
dec296ddbc
11 changed files with 204 additions and 860 deletions
|
@ -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 {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue