From 4aa6a76f5714fa945f1883ae2d658750cc91d6e3 Mon Sep 17 00:00:00 2001 From: Alan Jeffrey Date: Fri, 6 Nov 2015 09:46:52 -0600 Subject: [PATCH] Made QualName traceable by JS. --- components/script/dom/bindings/trace.rs | 4 ++-- 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); no_jsmanaged_fields!(Arc); 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); no_jsmanaged_fields!(PropertyDeclarationBlock); no_jsmanaged_fields!(HashSet); 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, Point2D, Size2D, Matrix2D, SideOffsets2D, Range); known_heap_size!(0, Length, ScaleFactor); -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);