mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Made QualName traceable by JS.
This commit is contained in:
parent
a0221b9126
commit
4aa6a76f57
2 changed files with 4 additions and 4 deletions
|
@ -81,7 +81,7 @@ use std::rc::Rc;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use std::sync::atomic::AtomicBool;
|
use std::sync::atomic::AtomicBool;
|
||||||
use std::sync::mpsc::{Receiver, Sender};
|
use std::sync::mpsc::{Receiver, Sender};
|
||||||
use string_cache::{Atom, Namespace};
|
use string_cache::{Atom, Namespace, QualName};
|
||||||
use style::properties::PropertyDeclarationBlock;
|
use style::properties::PropertyDeclarationBlock;
|
||||||
use style::values::specified::Length;
|
use style::values::specified::Length;
|
||||||
use url::Url;
|
use url::Url;
|
||||||
|
@ -257,7 +257,7 @@ no_jsmanaged_fields!(Size2D<T>);
|
||||||
no_jsmanaged_fields!(Arc<T>);
|
no_jsmanaged_fields!(Arc<T>);
|
||||||
no_jsmanaged_fields!(Image, ImageCacheChan, ImageCacheTask);
|
no_jsmanaged_fields!(Image, ImageCacheChan, ImageCacheTask);
|
||||||
no_jsmanaged_fields!(Metadata);
|
no_jsmanaged_fields!(Metadata);
|
||||||
no_jsmanaged_fields!(Atom, Namespace);
|
no_jsmanaged_fields!(Atom, Namespace, QualName);
|
||||||
no_jsmanaged_fields!(Trusted<T: Reflectable>);
|
no_jsmanaged_fields!(Trusted<T: Reflectable>);
|
||||||
no_jsmanaged_fields!(PropertyDeclarationBlock);
|
no_jsmanaged_fields!(PropertyDeclarationBlock);
|
||||||
no_jsmanaged_fields!(HashSet<T>);
|
no_jsmanaged_fields!(HashSet<T>);
|
||||||
|
|
|
@ -37,7 +37,7 @@ use std::result::Result;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use str::{DOMString, LengthOrPercentageOrAuto};
|
use str::{DOMString, LengthOrPercentageOrAuto};
|
||||||
use string_cache::atom::Atom;
|
use string_cache::atom::Atom;
|
||||||
use string_cache::namespace::Namespace;
|
use string_cache::namespace::{QualName, Namespace};
|
||||||
use url;
|
use url;
|
||||||
|
|
||||||
extern {
|
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, 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, 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, JSVal, PagePx, ViewportPx, DevicePixel, QuirksMode, OsRng, RawStatus);
|
||||||
known_heap_size!(0, TokenSerializationType, LengthOrPercentageOrAuto);
|
known_heap_size!(0, TokenSerializationType, LengthOrPercentageOrAuto);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue