diff options
Diffstat (limited to 'components/layout_traits/lib.rs')
-rw-r--r-- | components/layout_traits/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/layout_traits/lib.rs b/components/layout_traits/lib.rs index a1f33bdf827..ec248241c1a 100644 --- a/components/layout_traits/lib.rs +++ b/components/layout_traits/lib.rs @@ -20,6 +20,7 @@ use profile_traits::{mem, time}; use script_traits::LayoutMsg as ConstellationMsg; use script_traits::{ConstellationControlMsg, LayoutControlMsg}; use servo_url::ServoUrl; +use std::sync::atomic::AtomicBool; use std::sync::Arc; // A static method creating a layout thread @@ -44,5 +45,6 @@ pub trait LayoutThreadFactory { webrender_api_sender: webrender_api::RenderApiSender, webrender_document: webrender_api::DocumentId, paint_time_metrics: PaintTimeMetrics, + busy: Arc<AtomicBool>, ); } |