diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/script/dom/bindings/trace.rs | 4 | ||||
-rw-r--r-- | components/util/mem.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/bindings/trace.rs b/components/script/dom/bindings/trace.rs index 48f6ed39032..040964d7059 100644 --- a/components/script/dom/bindings/trace.rs +++ b/components/script/dom/bindings/trace.rs @@ -81,7 +81,7 @@ use std::rc::Rc; use std::sync::Arc; use std::sync::atomic::AtomicBool; use std::sync::mpsc::{Receiver, Sender}; -use string_cache::{Atom, Namespace}; +use string_cache::{Atom, Namespace, QualName}; use style::properties::PropertyDeclarationBlock; use style::values::specified::Length; use url::Url; @@ -257,7 +257,7 @@ no_jsmanaged_fields!(Size2D<T>); no_jsmanaged_fields!(Arc<T>); no_jsmanaged_fields!(Image, ImageCacheChan, ImageCacheTask); no_jsmanaged_fields!(Metadata); -no_jsmanaged_fields!(Atom, Namespace); +no_jsmanaged_fields!(Atom, Namespace, QualName); no_jsmanaged_fields!(Trusted<T: Reflectable>); no_jsmanaged_fields!(PropertyDeclarationBlock); no_jsmanaged_fields!(HashSet<T>); diff --git a/components/util/mem.rs b/components/util/mem.rs index e58ae1b3eb4..c5c242de825 100644 --- a/components/util/mem.rs +++ b/components/util/mem.rs @@ -37,7 +37,7 @@ use std::result::Result; use std::sync::Arc; use str::{DOMString, LengthOrPercentageOrAuto}; use string_cache::atom::Atom; -use string_cache::namespace::Namespace; +use string_cache::namespace::{QualName, Namespace}; use url; extern { @@ -420,7 +420,7 @@ known_heap_size!(0, bool, f32, f64); known_heap_size!(0, Rect<T>, Point2D<T>, Size2D<T>, Matrix2D<T>, SideOffsets2D<T>, Range<T>); known_heap_size!(0, Length<T, U>, ScaleFactor<T, U, V>); -known_heap_size!(0, Au, WritingMode, CSSParserColor, Color, RGBA, Cursor, Matrix4, Atom, Namespace); +known_heap_size!(0, Au, WritingMode, CSSParserColor, Color, RGBA, Cursor, Matrix4, QualName, Atom, Namespace); known_heap_size!(0, JSVal, PagePx, ViewportPx, DevicePixel, QuirksMode, OsRng, RawStatus); known_heap_size!(0, TokenSerializationType, LengthOrPercentageOrAuto); |