diff options
Diffstat (limited to 'components/script/page.rs')
-rw-r--r-- | components/script/page.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/page.rs b/components/script/page.rs index 1286a1427f1..f4b3fd6cd18 100644 --- a/components/script/page.rs +++ b/components/script/page.rs @@ -13,7 +13,7 @@ use std::cell::Cell; use std::rc::Rc; /// Encapsulates a handle to a frame in a frame tree. -#[derive(JSTraceable)] +#[derive(JSTraceable, HeapSizeOf)] #[allow(unrooted_must_root)] // FIXME(#6687) this is wrong pub struct Page { /// Pipeline id associated with this page. @@ -127,7 +127,7 @@ impl Page { } /// Information for one frame in the browsing context. -#[derive(JSTraceable)] +#[derive(JSTraceable, HeapSizeOf)] #[must_root] pub struct Frame { /// The document for this frame. |