diff options
Diffstat (limited to 'components/script_layout_interface/reporter.rs')
-rw-r--r-- | components/script_layout_interface/reporter.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script_layout_interface/reporter.rs b/components/script_layout_interface/reporter.rs index 7f5acfef8c1..42adfa40d52 100644 --- a/components/script_layout_interface/reporter.rs +++ b/components/script_layout_interface/reporter.rs @@ -11,13 +11,13 @@ use servo_url::ServoUrl; use std::sync::{Mutex, Arc}; use style::error_reporting::{ParseErrorReporter, ContextualParseError}; -#[derive(Clone, HeapSizeOf)] +#[derive(Clone, MallocSizeOf)] pub struct CSSErrorReporter { pub pipelineid: PipelineId, // Arc+Mutex combo is necessary to make this struct Sync, // which is necessary to fulfill the bounds required by the // uses of the ParseErrorReporter trait. - #[ignore_heap_size_of = "Arc is defined in libstd"] + #[ignore_malloc_size_of = "Arc is defined in libstd"] pub script_chan: Arc<Mutex<IpcSender<ConstellationControlMsg>>>, } |